You are here

simple_megamenu.services.yml in Simple Mega Menu 8

Same filename and directory in other branches
  1. 2.0.x simple_megamenu.services.yml

File

simple_megamenu.services.yml
View source
  1. services:
  2. simple_megamenu.twig.extension:
  3. class: Drupal\simple_megamenu\TwigExtension\SimpleMegaMenuTwigExtension
  4. arguments: ['@entity_type.manager']
  5. tags:
  6. - { name: twig.extension }
  7. simple_megamenu.helper:
  8. class: Drupal\simple_megamenu\SimpleMegaMenuHelper
  9. arguments: ['@entity_type.manager']
  10. simple_megamenu.access_canonical_page:
  11. class: Drupal\simple_megamenu\EventSubscriber\SimpleMegaMenuAccessCanonicalPageSubscriber
  12. arguments: ['@current_user', '@url_generator']
  13. tags:
  14. - { name: event_subscriber }