You are here

entity_hierarchy_microsite.services.yml in Entity Reference Hierarchy 3.x

modules/entity_hierarchy_microsite/entity_hierarchy_microsite.services.yml

File

modules/entity_hierarchy_microsite/entity_hierarchy_microsite.services.yml
View source
  1. services:
  2. entity_hierarchy_microsite.menu_link_discovery:
  3. class: Drupal\entity_hierarchy_microsite\MicrositeMenuLinkDiscovery
  4. arguments:
  5. - '@entity_hierarchy.nested_set_storage_factory'
  6. - '@entity_hierarchy.entity_tree_node_mapper'
  7. - '@entity_hierarchy.information.parent_candidate'
  8. - '@entity_field.manager'
  9. - '@entity_type.manager'
  10. - '@entity_hierarchy.nested_set_node_factory'
  11. - '@module_handler'
  12. entity_hierarchy_microsite.microsite_lookup:
  13. class: Drupal\entity_hierarchy_microsite\ChildOfMicrositeLookup
  14. arguments:
  15. - '@entity_field.manager'
  16. - '@entity_type.manager'
  17. - '@entity_hierarchy.nested_set_storage_factory'
  18. - '@entity_hierarchy.nested_set_node_factory'
  19. cache_context.entity_hierarchy_microsite:
  20. class: Drupal\entity_hierarchy_microsite\Cache\MicrositeCacheContext
  21. arguments:
  22. - '@entity_hierarchy_microsite.microsite_lookup'
  23. - '@current_route_match'
  24. - '@entity_hierarchy.information.parent_candidate'
  25. tags:
  26. - { name: cache.context }