Pull merge.
[yaffs-website] / vendor / chi-teck / drupal-code-generator / templates / d8 / yml / links.menu.twig
1 # Simple link.
2 {{ machine_name }}.node_add:
3   title: Add content
4   description: Add new content.
5   menu_name: main
6   route_name: node.add_page
7   weight: 10
8
9 # Child link.
10 {{ machine_name }}.node_add_article:
11   title: Add article
12   menu_name: main
13   parent: {{ machine_name }}.node_add
14   route_name: node.add
15   route_parameters:
16     node_type: article
17   weight: 20
18
19 # Dynamic link.
20 {{ machine_name }}.user:
21   menu_name: main
22   class: Drupal\user\Plugin\Menu\LoginLogoutMenuLink
23   weight: 30
24
25 # External link.
26 {{ machine_name }}.drupal.org:
27   title: Drupal.org
28   description: Drupal is an open source platform for building amazing digital experiences.
29   url: https://www.drupal.org
30   menu_name: main
31   weight: 40
32   options:
33     attributes:
34       target: _blank