You are here

entity_hierarchy_microsite.routing.yml in Entity Reference Hierarchy 8.2

modules/entity_hierarchy_microsite/entity_hierarchy_microsite.routing.yml

File

modules/entity_hierarchy_microsite/entity_hierarchy_microsite.routing.yml
View source
  1. entity.eh_microsite_menu_override.add:
  2. path: '/admin/structure/entity-hierarchy-microsites/add-menu-item/{target}'
  3. defaults:
  4. _controller: '\Drupal\entity_hierarchy_microsite\Controller\AddMenuOverride::addMenuOverride'
  5. _title_callback: '\Drupal\entity_hierarchy_microsite\Controller\AddMenuOverride::title'
  6. requirements:
  7. _permission: 'administer entity hierarchy microsites'