You are here

menu_test.links.action.yml in Zircon Profile 8.0

core/modules/system/tests/modules/menu_test/menu_test.links.action.yml

File

core/modules/system/tests/modules/menu_test/menu_test.links.action.yml
View source
  1. menu_test_local_action4:
  2. route_name: menu_test.local_action3
  3. title: 'My YAML discovery action'
  4. appears_on:
  5. - menu_test.local_action1
  6. menu_test.local_action5:
  7. route_name: menu_test.local_action5
  8. class: '\Drupal\menu_test\Plugin\Menu\LocalAction\TestLocalAction'
  9. weight: 10
  10. appears_on:
  11. - menu_test.local_action1
  12. menu_test.local_action2:
  13. route_name: menu_test.local_action2
  14. title: 'My hook_menu action'
  15. weight: -10
  16. appears_on:
  17. - menu_test.local_action1
  18. menu_test.local_action4:
  19. route_name: menu_test.local_action4
  20. title: 'My dynamic title action'
  21. weight: -20
  22. class: '\Drupal\menu_test\Plugin\Menu\LocalAction\TestLocalAction4'
  23. appears_on:
  24. - menu_test.local_action1
  25. menu_test.local_action_derivative:
  26. route_name: menu_test.local_action4
  27. weight: -20
  28. deriver: Drupal\menu_test\Plugin\Derivative\LocalActionTest
  29. class: Drupal\Core\Menu\LocalActionDefault
  30. appears_on:
  31. - menu_test.local_action1
  32. menu_test.local_action6:
  33. route_name: menu_test.local_action4
  34. title: 'Dynamic local action with user input'
  35. weight: -15
  36. class: '\Drupal\menu_test\Plugin\Menu\LocalAction\TestLocalAction5'
  37. appears_on:
  38. - menu_test.local_action1
  39. menu_test.hidden_menu_add:
  40. route_name: menu_test.hidden_menu_add
  41. title: 'Add menu'
  42. appears_on:
  43. - menu_test.hidden_menu
  44. menu_test.hidden_manage_add:
  45. route_name: menu_test.hidden_manage_add
  46. title: 'Add link'
  47. appears_on:
  48. - menu_test.hidden_manage
  49. menu_test.hidden_block_add:
  50. route_name: menu_test.hidden_block_add
  51. title: 'Add block'
  52. appears_on:
  53. - menu_test.hidden_block