You are here

menu_item_extras.routing.yml in Menu Item Extras 8.2

File

menu_item_extras.routing.yml
View source
  1. entity.menu.clear_extra_data:
  2. path: '/admin/structure/menu/manage/{menu}/clear'
  3. defaults:
  4. _entity_form: 'menu.clear'
  5. _title_callback: '\Drupal\menu_ui\Controller\MenuController::menuTitle'
  6. requirements:
  7. _entity_access: 'menu.update'
  8. entity.menu.view_modes_settings:
  9. path: '/admin/structure/menu/manage/{menu}/view_modes_settings/default'
  10. defaults:
  11. _entity_form: 'menu.view_modes_settings'
  12. _title_callback: '\Drupal\menu_ui\Controller\MenuController::menuTitle'
  13. requirements:
  14. _entity_access: 'menu.update'
  15. menu_item_extras.clear_all_extra_data:
  16. path: '/admin/modules/uninstall/extra_data/menu_item_extras'
  17. defaults:
  18. _controller: '\Drupal\menu_item_extras\Controller\MenuController::removeExtraData'
  19. _title: 'Remove menu item extra data'
  20. requirements:
  21. _permission: 'administer menu'
  22. _csrf_token: 'TRUE'