summaryrefslogtreecommitdiffstats
path: root/core/modules/system/tests/modules/menu_test/menu_test.links.action.yml
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/system/tests/modules/menu_test/menu_test.links.action.yml')
-rw-r--r--core/modules/system/tests/modules/menu_test/menu_test.links.action.yml45
1 files changed, 45 insertions, 0 deletions
diff --git a/core/modules/system/tests/modules/menu_test/menu_test.links.action.yml b/core/modules/system/tests/modules/menu_test/menu_test.links.action.yml
new file mode 100644
index 0000000..24c92a2
--- /dev/null
+++ b/core/modules/system/tests/modules/menu_test/menu_test.links.action.yml
@@ -0,0 +1,45 @@
+menu_test_local_action4:
+ route_name: menu_test.local_action3
+ title: 'My YAML discovery action'
+ appears_on:
+ - menu_test.local_action1
+
+menu_test.local_action5:
+ route_name: menu_test.local_action5
+ class: '\Drupal\menu_test\Plugin\Menu\LocalAction\TestLocalAction'
+ weight: 10
+ appears_on:
+ - menu_test.local_action1
+
+menu_test.local_action2:
+ route_name: menu_test.local_action2
+ title: 'My hook_menu action'
+ weight: -10
+ appears_on:
+ - menu_test.local_action1
+
+menu_test.local_action4:
+ route_name: menu_test.local_action4
+ title: 'My dynamic title action'
+ weight: -20
+ class: '\Drupal\menu_test\Plugin\Menu\LocalAction\TestLocalAction4'
+ appears_on:
+ - menu_test.local_action1
+
+menu_test.hidden_menu_add:
+ route_name: menu_test.hidden_menu_add
+ title: 'Add menu'
+ appears_on:
+ - menu_test.hidden_menu
+
+menu_test.hidden_manage_add:
+ route_name: menu_test.hidden_manage_add
+ title: 'Add link'
+ appears_on:
+ - menu_test.hidden_manage
+
+menu_test.hidden_block_add:
+ route_name: menu_test.hidden_block_add
+ title: 'Add block'
+ appears_on:
+ - menu_test.hidden_block