- $output .= '<dt>' . t('Configuring workflows') . '</dt>';
- $output .= '<dd>' . t('Enable the Workflow UI module to create, edit and delete content moderation workflows.') . '</p>';
+ $output .= '<dt>' . t('Applying workflows') . '</dt>';
+ $output .= '<dd>' . t('Content Moderation allows you to apply <a href=":workflows">Workflows</a> to content, custom blocks, and other <a href=":field_help" title="Field module help, with background on content entities">content entities</a>, to provide more fine-grained publishing options. For example, a Basic page might have states such as Draft and Published, with allowed transitions such as Draft to Published (making the current revision "live"), and Published to Draft (making a new draft revision of published content).', [':workflows' => Url::fromRoute('help.page', ['name' => 'workflows'])->toString(), ':field_help' => Url::fromRoute('help.page', ['name' => 'field'])->toString()]) . '</dd>';
+ if (\Drupal::moduleHandler()->moduleExists('views')) {
+ $moderated_content_view = View::load('moderated_content');
+ if (isset($moderated_content_view) && $moderated_content_view->status() === TRUE) {
+ $output .= '<dt>' . t('Moderating content') . '</dt>';
+ $output .= '<dd>' . t('You can view a list of content awaiting moderation on the <a href=":moderated">moderated content page</a>. This will show any content in an unpublished state, such as Draft or Archived, to help surface content that requires more work from content editors.', [':moderated' => Url::fromRoute('view.moderated_content.moderated_content')->toString()]) . '</dd>';
+ }
+ }