content_moderation.routing.yml 674 Bytes
Newer Older
1 2 3 4 5 6 7 8
content_moderation.admin_moderated_content:
  path: '/admin/content/moderated'
  defaults:
    _controller: '\Drupal\content_moderation\Controller\ModeratedContentController::nodeListing'
    _title: 'Moderated content'
  requirements:
    _permission: 'view any unpublished content'

9 10 11
content_moderation.workflow_type_edit_form:
  path: '/admin/config/workflow/workflows/manage/{workflow}/type/{entity_type_id}'
  defaults:
12 13
    _form: '\Drupal\content_moderation\Form\ContentModerationConfigureEntityTypesForm'
    _title_callback: '\Drupal\content_moderation\Form\ContentModerationConfigureEntityTypesForm::getTitle'
14 15
  requirements:
    _permission: 'administer workflows'