You are here

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

Same filename and directory in other branches
  1. 8.2 entity_hierarchy.services.yml
  2. 8 entity_hierarchy.services.yml

File

entity_hierarchy.services.yml
View source
  1. services:
  2. entity_hierarchy.nested_set_storage_factory:
  3. class: Drupal\entity_hierarchy\Storage\NestedSetStorageFactory
  4. arguments: ['@dbal_connection', '@database', '@entity_hierarchy.logger']
  5. entity_hierarchy.logger:
  6. parent: logger.channel_base
  7. arguments: ['entity_hierarchy']
  8. entity_hierarchy.nested_set_node_factory:
  9. class: Drupal\entity_hierarchy\Storage\NestedSetNodeKeyFactory
  10. entity_hierarchy.information.parent_candidate:
  11. class: Drupal\entity_hierarchy\Information\ParentCandidate
  12. arguments: ['@entity_field.manager', '@entity_type.bundle.info']
  13. access_check.entity_hierarchy.has_fields:
  14. class: Drupal\entity_hierarchy\Routing\ReorderChildrenAccess
  15. arguments: ['@entity_hierarchy.information.parent_candidate', '@current_route_match']
  16. tags:
  17. - { name: access_check }
  18. entity_hierarchy.entity_tree_node_mapper:
  19. class: Drupal\entity_hierarchy\Storage\EntityTreeNodeMapper
  20. arguments: ['@entity_type.manager']
  21. entity_hierarchy.tree_rebuilder:
  22. class: Drupal\entity_hierarchy\Storage\TreeRebuilder
  23. arguments: ['@entity_type.manager']