entity_usage.routing.yml in Entity Usage 8.4
Same filename and directory in other branches
File
entity_usage.routing.ymlView source
- entity_usage.usage_list:
- path: '/admin/content/entity-usage/{entity_type}/{entity_id}'
- defaults:
- _controller: 'Drupal\entity_usage\Controller\ListUsageController::listUsagePage'
- _title_callback: 'Drupal\entity_usage\Controller\ListUsageController::getTitle'
- requirements:
- _permission: 'access entity usage statistics'
- _custom_access: '\Drupal\entity_usage\Controller\ListUsageController::checkAccess'
- entity_usage.settings.form:
- path: '/admin/config/entity-usage/settings'
- defaults:
- _form: '\Drupal\entity_usage\Form\EntityUsageSettingsForm'
- _title: 'Entity Usage Settings'
- requirements:
- _permission: 'administer entity usage'