content_moderation.routing.yml

Same filename in other branches
  1. 9 core/modules/content_moderation/content_moderation.routing.yml
  2. 8.9.x 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
2 string references to YAML keys in content_moderation.routing.yml
ContentModerationConfigureForm::buildConfigurationForm in core/modules/content_moderation/src/Form/ContentModerationConfigureForm.php
Form constructor.
DynamicLocalTasks::getDerivativeDefinitions in core/modules/content_moderation/src/Plugin/Derivative/DynamicLocalTasks.php
Gets the definition of all derivatives of a base plugin.

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. _module_dependencies: 'node'
  8. _permission: 'view any unpublished content'
  9. content_moderation.workflow_type_edit_form:
  10. path: '/admin/config/workflow/workflows/manage/{workflow}/type/{entity_type_id}'
  11. defaults:
  12. _form: '\Drupal\content_moderation\Form\ContentModerationConfigureEntityTypesForm'
  13. _title_callback: '\Drupal\content_moderation\Form\ContentModerationConfigureEntityTypesForm::getTitle'
  14. requirements:
  15. _permission: 'administer workflows'

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