You are here

entity_usage.routing.yml in Entity Usage 8.3

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.batch_update:
  10. path: '/admin/config/entity-usage/batch-update'
  11. defaults:
  12. _form: 'Drupal\entity_usage\Form\BatchUpdateForm'
  13. _title: 'Batch Update'
  14. requirements:
  15. _permission: 'perform batch updates entity usage'
  16. entity_usage.settings.form:
  17. path: '/admin/config/entity-usage/settings'
  18. defaults:
  19. _form: '\Drupal\entity_usage\Form\EntityUsageSettingsForm'
  20. _title: 'Entity Usage Settings'
  21. requirements:
  22. _permission: 'administer entity usage'