depcalc.services.yml in Dependency Calculation 8
File
depcalc.services.ymlView source
- services:
- entity.dependency.calculator:
- class: Drupal\depcalc\DependencyCalculator
- arguments: ['@event_dispatcher', '@depcalc.logger_channel']
-
- cache.depcalc:
- class: Drupal\Core\Cache\CacheBackendInterface
- tags:
- - { name: cache.bin }
- factory: ['@cache.factory.depcalc', 'get']
- arguments: [depcalc]
-
- cache.factory.depcalc:
- class: Drupal\depcalc\Cache\DepcalcCacheFactory
- arguments: ['@cache_factory', '@event_dispatcher']
-
- entity.config_entity.dependency_calculator:
- class: Drupal\depcalc\EventSubscriber\DependencyCollector\ConfigEntityDependencyCollector
- arguments: ['@config.manager']
- tags:
- - { name: event_subscriber }
-
- entity_reference.dependency_calculator:
- class: Drupal\depcalc\EventSubscriber\DependencyCollector\EntityReferenceFieldDependencyCollector
- tags:
- - { name: event_subscriber }
-
- layout_builder.dependency_calculator:
- class: Drupal\depcalc\EventSubscriber\DependencyCollector\LayoutBuilderFieldDependencyCollector
- arguments: ['@event_dispatcher']
- tags:
- - { name: event_subscriber }
-
- layout_builder.entity_view_display.dependency_calculator:
- class: Drupal\depcalc\EventSubscriber\DependencyCollector\LayoutBuilderEntityViewDisplayDependencyCollector
- arguments: ['@event_dispatcher']
- tags:
- - { name: event_subscriber }
-
- text_item.dependency_calculator:
- class: Drupal\depcalc\EventSubscriber\DependencyCollector\TextItemFieldDependencyCollector
- arguments: ['@entity_type.manager']
- tags:
- - { name: event_subscriber }
-
- menu_link.dependency_calculator:
- class: Drupal\depcalc\EventSubscriber\DependencyCollector\LinkFieldCollector
- arguments: ['@entity_type.manager', '@module_handler']
- tags:
- - { name: event_subscriber }
-
- entity_view_display.dependency_calculator:
- class: Drupal\depcalc\EventSubscriber\DependencyCollector\EntityViewDisplayDependencyCollector
- arguments: ['@entity_type.manager']
- tags:
- - { name: event_subscriber }
-
- entity_form_display.dependency_calculator:
- class: Drupal\depcalc\EventSubscriber\DependencyCollector\EntityFormDisplayDependencyCollector
- arguments: ['@entity_type.manager']
- tags:
- - { name: event_subscriber }
-
- workflow.dependency_calculator:
- class: Drupal\depcalc\EventSubscriber\DependencyCollector\WorkflowCollector
- tags:
- - { name: event_subscriber }
-
- entity.language.dependency_calculator:
- class: Drupal\depcalc\EventSubscriber\DependencyCollector\EntityLanguage
- arguments: ['@module_handler']
- tags:
- - { name: event_subscriber }
-
- term.parent.calculator:
- class: Drupal\depcalc\EventSubscriber\DependencyCollector\TermParentCollector
- arguments: ['@database']
- tags:
- - { name: event_subscriber }
-
- embedded_images.calculator:
- class: Drupal\depcalc\EventSubscriber\DependencyCollector\EmbeddedImagesCollector
- arguments: ['@database', '@module_handler']
- tags:
- - { name: event_subscriber }
-
- entity_embed.embed.calculator:
- class: Drupal\depcalc\EventSubscriber\DependencyCollector\EntityEmbedCollector
- tags:
- - { name: event_subscriber }
-
- drupal_media_embed.embed.calculator:
- class: Drupal\depcalc\EventSubscriber\DependencyCollector\DrupalMediaEmbedCollector
- tags:
- - { name: event_subscriber }
-
- inline_block.layout_builder_dependency_calculator:
- class: Drupal\depcalc\EventSubscriber\LayoutBuilderComponentDepencyCollector\InlineBlockDependencyCollector
- arguments: ['@entity_type.manager']
- tags:
- - { name: event_subscriber }
-
- block_content.layout_builder_dependency_calculator:
- class: Drupal\depcalc\EventSubscriber\LayoutBuilderComponentDepencyCollector\BlockContentDependencyCollector
- arguments: ['@entity_type.manager']
- tags:
- - { name: event_subscriber }
-
- modules.layout_builder_dependency_calculator:
- class: Drupal\depcalc\EventSubscriber\LayoutBuilderComponentDepencyCollector\ModuleDependencyCollector
- tags:
- - { name: event_subscriber }
-
- config.layout_builder_dependency_calculator:
- class: Drupal\depcalc\EventSubscriber\LayoutBuilderComponentDepencyCollector\ConfigDependencyCollector
- arguments: ['@config.manager']
- tags:
- - { name: event_subscriber }
-
- path_alias.dependency.calculator:
- class: Drupal\depcalc\EventSubscriber\DependencyCollector\PathAliasEntityCollector
- arguments: ['@router.no_access_checks']
- tags:
- - { name: event_subscriber }
- entity.path_alias.dependency.calculator:
- class: Drupal\depcalc\EventSubscriber\DependencyCollector\EntityPathAliasCollector
- tags:
- - { name: event_subscriber }
-
- menu_item_content.parent.calculator:
- class: Drupal\depcalc\EventSubscriber\DependencyCollector\MenuItemContentDependencyCollector
- tags:
- - { name: event_subscriber }
-
- depcalc.logger_channel:
- class: Drupal\Core\Logger\LoggerChannel
- factory: logger.factory:get
- arguments: ['depcalc']