1 {% if class_name is defined %}
3 {% for route in routes %}
4 {% if learning is defined and learning %}
5 {{ yaml_comment('application.messages.learning.route') }}
8 path: '{{ route.path }}'
10 _controller: '\Drupal\{{ module }}\Controller\{{ class_name }}::{{ route.method }}'
11 _title: '{{route.title}}'
13 _permission: 'access content'