You are here

menu_item_extras.services.yml in Menu Item Extras 8.2

Same filename and directory in other branches
  1. 8 menu_item_extras.services.yml

File

menu_item_extras.services.yml
View source
  1. services:
  2. menu_item_extras.menu_link_tree_handler:
  3. class: Drupal\menu_item_extras\Service\MenuLinkTreeHandler
  4. arguments:
  5. - '@entity_type.manager'
  6. - '@entity.repository'
  7. menu_item_extras.menu_link_content_helper:
  8. class: Drupal\menu_item_extras\Service\MenuLinkContentService
  9. arguments:
  10. - '@entity_type.manager'
  11. - '@entity.definition_update_manager'
  12. - '@entity_field.manager'
  13. - '@field_storage_definition.listener'
  14. - '@entity.last_installed_schema.repository'
  15. - '@database'
  16. menu_item_extras.update:
  17. class: Drupal\menu_item_extras\Service\UpdateHelper
  18. menu_item_extras.route_subscriber:
  19. class: Drupal\menu_item_extras\Routing\RouteSubscriber
  20. arguments:
  21. - '@entity_type.manager'
  22. deprecated: The "%service_id%" service is deprecated in menu_item_extras:2.11 and is removed from menu_item_extras:3.0.0
  23. tags:
  24. - { name: event_subscriber }
  25. menu_item_extras.uninstall_validator:
  26. class: Drupal\menu_item_extras\MenuItemExtrasUninstallValidator
  27. tags:
  28. - { name: module_install.uninstall_validator }
  29. arguments:
  30. - '@database'
  31. - '@string_translation'
  32. lazy: true
  33. menu_item_extras.utility:
  34. class: Drupal\menu_item_extras\Utility\Utility
  35. cache_context.menu_item_extras_link_item_content_active_trails:
  36. class: Drupal\menu_item_extras\Cache\LinkItemContentActiveTrailsCacheContext
  37. calls:
  38. - [setContainer, ['@service_container']]
  39. tags:
  40. - { name: cache.context }
  41. menu_item_extras.config_subscriber:
  42. class: Drupal\menu_item_extras\EventSubscriber\ConfigSubscriber
  43. arguments:
  44. - '@config.installer'
  45. tags:
  46. - { name: event_subscriber }