You are here

entity_usage.routing.yml in Entity Usage 8.4

File

entity_usage.routing.yml
View source
  1. entity_usage.usage_list:
  2. path: '/admin/content/entity-usage/{entity_type}/{entity_id}'
  3. defaults:
  4. _controller: 'Drupal\entity_usage\Controller\ListUsageController::listUsagePage'
  5. _title_callback: 'Drupal\entity_usage\Controller\ListUsageController::getTitle'
  6. requirements:
  7. _permission: 'access entity usage statistics'
  8. _custom_access: '\Drupal\entity_usage\Controller\ListUsageController::checkAccess'
  9. entity_usage.settings.form:
  10. path: '/admin/config/entity-usage/settings'
  11. defaults:
  12. _form: '\Drupal\entity_usage\Form\EntityUsageSettingsForm'
  13. _title: 'Entity Usage Settings'
  14. requirements:
  15. _permission: 'administer entity usage'