-
Notifications
You must be signed in to change notification settings - Fork 0
/
slt_general.links.action.yml
65 lines (60 loc) · 2.24 KB
/
slt_general.links.action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
slt_general.add_public_page:
title: 'Add public page'
route_name: node.add
route_parameters:
node_type: public_page
appears_on:
- view.content.page_public_pages
# Temporary solution to ensure redirection to the origin page until
# https://www.drupal.org/project/drupal/issues/1344902 is solved.
class: \Drupal\menu_ui\Plugin\Menu\LocalAction\MenuLinkAdd
slt_general.add_private_page:
title: 'Add private page'
route_name: node.add
route_parameters:
node_type: private_page
appears_on:
- view.content.page_private_pages
# Temporary solution to ensure redirection to the origin page until
# https://www.drupal.org/project/drupal/issues/1344902 is solved.
class: \Drupal\menu_ui\Plugin\Menu\LocalAction\MenuLinkAdd
slt_general.add_contact:
title: 'Add contact'
route_name: node.add
route_parameters:
node_type: contact
appears_on:
- view.content.page_contacts
# Temporary solution to ensure redirection to the origin page until
# https://www.drupal.org/project/drupal/issues/1344902 is solved.
class: \Drupal\menu_ui\Plugin\Menu\LocalAction\MenuLinkAdd
slt_general.add_document:
title: 'Add document'
route_name: entity.media.add_form
route_parameters:
media_type: document
appears_on:
- view.media.page_media_documents
# Temporary solution to ensure redirection to the origin page until
# https://www.drupal.org/project/drupal/issues/1344902 is solved.
class: \Drupal\menu_ui\Plugin\Menu\LocalAction\MenuLinkAdd
slt_general.add_internal_document:
title: 'Add internal document'
route_name: entity.media.add_form
route_parameters:
media_type: internal_document
appears_on:
- view.media.page_media_internal_documents
# Temporary solution to ensure redirection to the origin page until
# https://www.drupal.org/project/drupal/issues/1344902 is solved.
class: \Drupal\menu_ui\Plugin\Menu\LocalAction\MenuLinkAdd
slt_general.add_image:
title: 'Add image'
route_name: entity.media.add_form
route_parameters:
media_type: image
appears_on:
- view.media.page_media_images
# Temporary solution to ensure redirection to the origin page until
# https://www.drupal.org/project/drupal/issues/1344902 is solved.
class: \Drupal\menu_ui\Plugin\Menu\LocalAction\MenuLinkAdd