You are here

yaml_content.services.yml in YAML Content 8

Same filename and directory in other branches
  1. 8.2 yaml_content.services.yml

File

yaml_content.services.yml
View source
  1. services:
  2. plugin.manager.yaml_content.process:
  3. class: Drupal\yaml_content\Plugin\YamlContentProcessManager
  4. arguments: ['@container.namespaces', '@cache.discovery', '@module_handler']
  5. yaml_content.content_loader:
  6. class: Drupal\yaml_content\ContentLoader\ContentLoader
  7. arguments:
  8. - '@service_container'
  9. yaml_content.load_helper:
  10. class: Drupal\yaml_content\Service\LoadHelper
  11. arguments:
  12. - '@yaml_content.content_loader'
  13. - '@logger.channel.yaml_content'
  14. - '@string_translation'
  15. yaml_content.entity_load_helper:
  16. class: Drupal\yaml_content\Service\EntityLoadHelper
  17. arguments:
  18. - '@service_container'
  19. logger.channel.yaml_content:
  20. parent: logger.channel_base
  21. arguments:
  22. - 'yaml_content'
  23. yaml_content.event_subscriber.yaml_content_menu_hierarchy:
  24. class: Drupal\yaml_content\EventSubscriber\MenuHierarchySubscriber
  25. tags:
  26. - {name: event_subscriber}