You are here

rabbit_hole.services.yml in Rabbit Hole 8

Same filename and directory in other branches
  1. 2.x rabbit_hole.services.yml

File

rabbit_hole.services.yml
View source
  1. services:
  2. plugin.manager.rabbit_hole_entity_plugin:
  3. class: Drupal\rabbit_hole\Plugin\RabbitHoleEntityPluginManager
  4. parent: default_plugin_manager
  5. arguments:
  6. - '@entity_type.manager'
  7. plugin.manager.rabbit_hole_behavior_plugin:
  8. class: Drupal\rabbit_hole\Plugin\RabbitHoleBehaviorPluginManager
  9. parent: default_plugin_manager
  10. rabbit_hole.behavior_settings_manager:
  11. class: Drupal\rabbit_hole\BehaviorSettingsManager
  12. arguments: ["@config.factory"]
  13. rabbit_hole.form_mangler:
  14. class: Drupal\rabbit_hole\FormManglerService
  15. arguments:
  16. - '@entity_type.manager'
  17. - '@entity_type.bundle.info'
  18. - '@plugin.manager.rabbit_hole_behavior_plugin'
  19. - "@plugin.manager.rabbit_hole_entity_plugin"
  20. - '@rabbit_hole.behavior_settings_manager'
  21. - "@string_translation"
  22. - '@rabbit_hole.behavior_invoker'
  23. rabbit_hole.behavior_invoker:
  24. class: Drupal\rabbit_hole\BehaviorInvoker
  25. arguments:
  26. - "@rabbit_hole.behavior_settings_manager"
  27. - "@plugin.manager.rabbit_hole_behavior_plugin"
  28. - "@plugin.manager.rabbit_hole_entity_plugin"
  29. - "@rabbit_hole.entity_extender"
  30. - "@current_user"
  31. - "@module_handler"
  32. rabbit_hole.rabbit_hole_subscriber:
  33. class: Drupal\rabbit_hole\EventSubscriber\RabbitHoleSubscriber
  34. arguments: ["@rabbit_hole.behavior_invoker"]
  35. tags:
  36. - { name: event_subscriber }
  37. rabbit_hole.entity_extender:
  38. class: Drupal\rabbit_hole\EntityExtender
  39. arguments:
  40. - "@plugin.manager.rabbit_hole_behavior_plugin"
  41. - "@plugin.manager.rabbit_hole_entity_plugin"