flow-1.0.0-beta8/flow.services.yml
flow.services.yml
parameters:
flow.load_list_threshold: 100
flow.save_list_threshold: 20
flow.allow_nested_flow: false
services:
flow:
class: Drupal\flow\Flow
calls:
- [setEventDispatcher, ['@event_dispatcher']]
plugin.manager.flow.subject:
class: Drupal\flow\Plugin\FlowSubjectManager
parent: default_plugin_manager
plugin.manager.flow.task:
class: Drupal\flow\Plugin\FlowTaskManager
parent: default_plugin_manager
plugin.manager.flow.qualifier:
class: Drupal\flow\Plugin\FlowQualifierManager
parent: default_plugin_manager
flow.task.mode:
class: Drupal\flow\FlowTaskMode
arguments: ['@module_handler', '@string_translation']
flow.task.queue:
class: Drupal\flow\FlowTaskQueue
arguments: ['@queue', '@logger.channel.flow']
logger.channel.flow:
parent: logger.channel_base
arguments: ['flow']
flow.entity_save_handler:
class: Drupal\flow\Entity\EntitySaveHandler
arguments: ['%flow.save_list_threshold%']
flow.entity_qualifier:
class: Drupal\flow\Entity\EntityQualifier
serializer.normalizer.flow__content_entity:
decorates: serializer.normalizer.content_entity
parent: serializer.normalizer.content_entity
class: Drupal\flow\Normalizer\FlowContentEntityNormalizer
calls:
- [setDecoratedNormalizer, ['@serializer.normalizer.flow__content_entity.inner']]
serializer.normalizer.flow__entity_reference_field_item:
decorates: serializer.normalizer.entity_reference_field_item
parent: serializer.normalizer.entity_reference_field_item
class: Drupal\flow\Normalizer\FlowEntityReferenceFieldItemNormalizer
calls:
- [setDecoratedNormalizer, ['@serializer.normalizer.flow__entity_reference_field_item.inner']]
- [setEntityTypeManager, ['@entity_type.manager']]
flow.normalizer_container:
class: Drupal\flow\Internals\NormalizerContainer
arguments: ['@serializer.normalizer.flow__content_entity', '@serializer.normalizer.flow__entity_reference_field_item']
