synonyms.services.yml in Synonyms 8
File
synonyms.services.yml
View source
- services:
- plugin.manager.synonyms_provider:
- class: Drupal\synonyms\SynonymsProviderPluginManager
- parent: default_plugin_manager
-
- synonyms.behaviors:
- class: Drupal\synonyms\SynonymsService\BehaviorService
- tags:
- - { name: service_collector, tag: synonyms_behavior, call: addBehaviorService }
- arguments: [ '@entity_type.manager' ]
-
- synonyms.provider.field_type_to_synonyms:
- class: Drupal\synonyms\SynonymsService\FieldTypeToSynonyms
- arguments: [ '@module_handler' ]
-
- synonyms.find_synonyms:
- class: Drupal\synonyms\SynonymsService\FindSynonyms
- arguments: [ '@synonyms.behaviors', '@entity_type.bundle.info' ]
-
- synonyms.entity_get_by_synonym:
- class: Drupal\synonyms\SynonymsService\EntityGetBySynonym
- arguments: [ '@synonyms.find_synonyms', '@entity_type.manager' ]
-
- synonyms.behavior.autocomplete:
- class: Drupal\synonyms\SynonymsService\Behavior\AutocompleteService
- arguments: [ '@keyvalue', '@plugin.manager.entity_reference_selection', '@synonyms.behaviors', '@database', '@entity_type.manager', '@renderer' ]
- tags:
- - { name: synonyms_behavior }
-
- synonyms.behavior.select:
- class: Drupal\synonyms\SynonymsService\Behavior\SelectService
- arguments: [ '@synonyms.behaviors', '@renderer' ]
- tags:
- - { name: synonyms_behavior }
-
- synonyms.param_converter.entity_type:
- class: Drupal\synonyms\ParamConverter\EntityTypeParamConverter
- tags:
- - { name: paramconverter }
- arguments: [ '@entity_type.manager' ]
-
- synonyms.param_converter.synonyms_behavior:
- class: Drupal\synonyms\ParamConverter\SynonymsBehaviorServiceParamConverter
- tags:
- - { name: paramconverter }
- arguments: [ '@synonyms.behaviors' ]