block_editor-1.0.x-dev/block_editor.services.yml
block_editor.services.yml
services:
block_editor.entity_type_discovery:
class: Drupal\block_editor\Service\EntityTypeDiscovery
arguments: ['@module_handler']
block_editor.entity_manager:
class: Drupal\block_editor\Service\EntityManager
arguments: ['@entity_type.manager', '@entity_field.manager', '@entity_type.bundle.info', '@config.typed', '@current_route_match', '@module_handler', '@logger.factory']
block_editor.request_subscriber:
class: Drupal\block_editor\EventSubscriber\BlockEditorRequestSubscriber
arguments:
- '@block_editor.entity_manager'
- '@entity_type.manager'
- '@router.route_provider'
tags:
- { name: event_subscriber }
block_editor.route_subscriber:
class: Drupal\block_editor\Routing\BlockEditorRouteSubscriber
arguments: ['@entity_type.manager', '@block_editor.entity_manager']
tags:
- { name: event_subscriber }
block_editor.entity_edit_access_check:
class: Drupal\block_editor\Access\EntityEditAccessCheck
arguments: ['@entity_type.manager', '@block_editor.entity_manager']
tags:
- { name: access_check, applies_to: _block_editor_entity_edit_access_check }
block_editor.settings_access_check:
class: Drupal\block_editor\Access\BlockEditorSettingsAccessCheck
arguments: ['@block_editor.entity_manager']
tags:
- { name: access_check, applies_to: _block_editor_settings_access }
block_editor.form_access_check:
class: Drupal\block_editor\Access\BlockEditorFormAccessCheck
arguments: ['@entity_type.manager', '@block_editor.entity_manager']
tags:
- { name: access_check, applies_to: _block_editor_form_access }
block_editor.add_form_access_check:
class: Drupal\block_editor\Access\BlockEditorAddFormAccessCheck
arguments: ['@block_editor.entity_manager']
tags:
- { name: access_check, applies_to: _block_editor_add_form_access }
block_editor.canonical_access_check:
class: Drupal\block_editor\Access\BlockEditorCanonicalAccessCheck
arguments: ['@entity_type.manager', '@block_editor.entity_manager', '@request_stack']
tags:
- { name: access_check, applies_to: _block_editor_canonical_access }
block_editor.canonical_redirect_subscriber:
class: Drupal\block_editor\EventSubscriber\BlockEditorCanonicalRedirectSubscriber
tags:
- { name: event_subscriber }
Drupal\block_editor\Hook\FormIsolationHooks:
class: Drupal\block_editor\Hook\FormIsolationHooks
arguments: ['@request_stack', '@current_route_match']
tags:
- { name: module_implements_alter_hook, priority: 1000 }
autowire: true
Drupal\block_editor\Hook\ExtensibilityHooks:
class: Drupal\block_editor\Hook\ExtensibilityHooks
autowire: true
Drupal\block_editor\Hook\EntityHooks:
class: Drupal\block_editor\Hook\EntityHooks
arguments: ['@block_editor.entity_manager']
autowire: true
Drupal\block_editor\Hook\FormHooks:
class: Drupal\block_editor\Hook\FormHooks
arguments: ['@block_editor.entity_manager']
autowire: true
Drupal\block_editor\Hook\MenuHooks:
class: Drupal\block_editor\Hook\MenuHooks
arguments: ['@current_route_match', '@entity_type.manager', '@block_editor.entity_manager']
autowire: true
Drupal\block_editor\Hook\ThemeHooks:
class: Drupal\block_editor\Hook\ThemeHooks
arguments: ['@current_route_match', '@block_editor.entity_manager']
autowire: true
