You are here

flexiform.services.yml in Flexiform 8

File

flexiform.services.yml
View source
  1. services:
  2. flexiform.manager:
  3. class: Drupal\flexiform\FlexiformManager
  4. arguments: ['@entity_type.manager', '@class_resolver', '@string_translation', '@module_handler']
  5. flexiform.subscriber:
  6. class: Drupal\flexiform\Routing\RouteSubscriber
  7. arguments: ['@entity.manager', '@entity_type.manager', '@plugin.manager.flexiform.form_component_type']
  8. tags:
  9. - { name: event_subscriber }
  10. flexiform.token:
  11. class: Drupal\flexiform\Utility\Token
  12. parent: token
  13. flexiform.token.tree_builder:
  14. class: Drupal\flexiform\FlexiformTreeBuilder
  15. parent: token.tree_builder
  16. flexiform.route_enhancer:
  17. class: Drupal\flexiform\Routing\FlexiformRouteEnhancer
  18. arguments: ['@entity.manager']
  19. tags:
  20. - { name: route_enhancer }
  21. flexiform.form_mode_page_access_checker:
  22. class: Drupal\flexiform\Access\FormModePageAccessCheck
  23. arguments: ['@current_user']
  24. tags:
  25. - { name: access_check, applies_to: _flexiform_form_mode_page_access_check }
  26. plugin.manager.flexiform_form_entity:
  27. class: Drupal\flexiform\FlexiformFormEntityPluginManager
  28. parent: default_plugin_manager
  29. plugin.manager.flexiform.form_component_type:
  30. class: Drupal\flexiform\FormComponentTypePluginManager
  31. parent: default_plugin_manager
  32. plugin.manager.flexiform.form_enhancer:
  33. class: Drupal\flexiform\FormEnhancerPluginManager
  34. parent: default_plugin_manager
  35. plugin.manager.flexiform.form_element:
  36. class: Drupal\flexiform\FormElementPluginManager
  37. parent: default_plugin_manager