Update Composer, update everything
This commit is contained in:
parent
ea3e94409f
commit
dda5c284b6
19527 changed files with 1135420 additions and 351004 deletions
15
vendor/drupal/console/templates/module/routing-controller.yml.twig
vendored
Normal file
15
vendor/drupal/console/templates/module/routing-controller.yml.twig
vendored
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{% if class_name is defined %}
|
||||
|
||||
{% for route in routes %}
|
||||
{% if learning is defined and learning %}
|
||||
{{ yaml_comment('application.messages.learning.route') }}
|
||||
{% endif %}
|
||||
{{ route.name }}:
|
||||
path: '{{ route.path }}'
|
||||
defaults:
|
||||
_controller: '\Drupal\{{ module }}\Controller\{{ class_name }}::{{ route.method }}'
|
||||
_title: '{{route.title}}'
|
||||
requirements:
|
||||
_permission: 'access content'
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
Reference in a new issue