You are here

content_moderation.routing.yml in Drupal 8

Same filename and directory in other branches
  1. 9 core/modules/content_moderation/content_moderation.routing.yml
core/modules/content_moderation/content_moderation.routing.yml

File

core/modules/content_moderation/content_moderation.routing.yml
View source
  1. content_moderation.admin_moderated_content:
  2. path: '/admin/content/moderated'
  3. defaults:
  4. _controller: '\Drupal\content_moderation\Controller\ModeratedContentController::nodeListing'
  5. _title: 'Moderated content'
  6. requirements:
  7. _permission: 'view any unpublished content'
  8. content_moderation.workflow_type_edit_form:
  9. path: '/admin/config/workflow/workflows/manage/{workflow}/type/{entity_type_id}'
  10. defaults:
  11. _form: '\Drupal\content_moderation\Form\ContentModerationConfigureEntityTypesForm'
  12. _title_callback: '\Drupal\content_moderation\Form\ContentModerationConfigureEntityTypesForm::getTitle'
  13. requirements:
  14. _permission: 'administer workflows'