content_moderation.routing.yml

Same filename in other branches
  1. 9 core/modules/content_moderation/content_moderation.routing.yml
  2. 10 core/modules/content_moderation/content_moderation.routing.yml
  3. 11.x core/modules/content_moderation/content_moderation.routing.yml
core/modules/content_moderation/content_moderation.routing.yml
1 string reference to YAML keys in content_moderation.routing.yml
ContentModerationConfigureForm::buildConfigurationForm in core/modules/content_moderation/src/Form/ContentModerationConfigureForm.php
Form constructor.

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'

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.