simple_megamenu.services.yml in Simple Mega Menu 8
Same filename and directory in other branches
File
simple_megamenu.services.ymlView source
- services:
- simple_megamenu.twig.extension:
- class: Drupal\simple_megamenu\TwigExtension\SimpleMegaMenuTwigExtension
- arguments: ['@entity_type.manager']
- tags:
- - { name: twig.extension }
- simple_megamenu.helper:
- class: Drupal\simple_megamenu\SimpleMegaMenuHelper
- arguments: ['@entity_type.manager']
- simple_megamenu.access_canonical_page:
- class: Drupal\simple_megamenu\EventSubscriber\SimpleMegaMenuAccessCanonicalPageSubscriber
- arguments: ['@current_user', '@url_generator']
- tags:
- - { name: event_subscriber }