Skip to content
Snippets Groups Projects
Commit b83467ea authored by catch's avatar catch
Browse files

Issue #3325557 by longwave, mondrake, kim.pepper: Enable more service...

Issue #3325557 by longwave, mondrake, kim.pepper: Enable more service autowiring by adding interface aliases to core modules
parent 99c902a2
No related branches found
No related tags found
46 merge requests!54479.5.x SF update,!5014Issue #3071143: Table Render Array Example Is Incorrect,!4868Issue #1428520: Improve menu parent link selection,!4594Applying patch for Views Global Text area field to allow extra HTML tags. As video, source and iframe tag is not rendering. Due to which Media embedded video and remote-video not rendering in Views Global Text area field.,!4289Issue #1344552 by marcingy, Niklas Fiekas, Ravi.J, aleevas, Eduardo Morales...,!3878Removed unused condition head title for views,!38582585169-10.1.x,!3825Issue #2972573: randomMachineName() should conform to processMachineName() pattern,!3818Issue #2140179: $entity->original gets stale between updates,!3742Issue #3328429: Create item list field formatter for displaying ordered and unordered lists,!3731Claro: role=button on status report items,!3668Resolve #3347842 "Deprecate the trusted",!3651Issue #3347736: Create new SDC component for Olivero (header-search),!3546refactored dialog.pcss file,!3531Issue #3336994: StringFormatter always displays links to entity even if the user in context does not have access,!3502Issue #3335308: Confusing behavior with FormState::setFormState and FormState::setMethod,!3452Issue #3332701: Refactor Claro's tablesort-indicator stylesheet,!3451Issue #2410579: Allows setting the current language programmatically.,!3355Issue #3209129: Scrolling problems when adding a block via layout builder,!3228Issue #2920678: Add config validation for the allowed characters of machine names,!3226Issue #2987537: Custom menu link entity type should not declare "bundle" entity key,!3154Fixes #2987987 - CSRF token validation broken on routes with optional parameters.,!3147Issue #3328457: Replace most substr($a, $i) where $i is negative with str_ends_with(),!3146Issue #3328456: Replace substr($a, 0, $i) with str_starts_with(),!3133core/modules/system/css/components/hidden.module.css,!31312878513-10.1.x,!2964Issue #2865710 : Dependencies from only one instance of a widget are used in display modes,!2812Issue #3312049: [Followup] Fix Drupal.Commenting.FunctionComment.MissingReturnType returns for NULL,!2614Issue #2981326: Replace non-test usages of \Drupal::logger() with IoC injection,!2378Issue #2875033: Optimize joins and table selection in SQL entity query implementation,!2334Issue #3228209: Add hasRole() method to AccountInterface,!2062Issue #3246454: Add weekly granularity to views date sort,!1591Issue #3199697: Add JSON:API Translation experimental module,!1255Issue #3238922: Refactor (if feasible) uses of the jQuery serialize function to use vanillaJS,!1105Issue #3025039: New non translatable field on translatable content throws error,!1073issue #3191727: Focus states on mobile second level navigation items fixed,!10223132456: Fix issue where views instances are emptied before an ajax request is complete,!877Issue #2708101: Default value for link text is not saved,!844Resolve #3036010 "Updaters",!673Issue #3214208: FinishResponseSubscriber could create duplicate headers,!617Issue #3043725: Provide a Entity Handler for user cancelation,!579Issue #2230909: Simple decimals fail to pass validation,!560Move callback classRemove outside of the loop,!555Issue #3202493,!485Sets the autocomplete attribute for username/password input field on login form.,!30Issue #3182188: Updates composer usage to point at ./vendor/bin/composer
Showing
with 50 additions and 0 deletions
...@@ -6,6 +6,7 @@ services: ...@@ -6,6 +6,7 @@ services:
announcements_feed.fetcher: announcements_feed.fetcher:
class: Drupal\announcements_feed\AnnounceFetcher class: Drupal\announcements_feed\AnnounceFetcher
arguments: ['@http_client', '@config.factory', '@keyvalue.expirable', '@logger.channel.announcements_feed', '%announcements_feed.feed_json_url%'] arguments: ['@http_client', '@config.factory', '@keyvalue.expirable', '@logger.channel.announcements_feed', '%announcements_feed.feed_json_url%']
Drupal\announcements_feed\AnnounceFetcher: '@announcements_feed.fetcher'
logger.channel.announcements_feed: logger.channel.announcements_feed:
parent: logger.channel_base parent: logger.channel_base
arguments: ['announcements_feed'] arguments: ['announcements_feed']
......
...@@ -4,6 +4,7 @@ services: ...@@ -4,6 +4,7 @@ services:
arguments: ['@database'] arguments: ['@database']
tags: tags:
- { name: backend_overridable } - { name: backend_overridable }
Drupal\ban\BanIpManagerInterface: '@ban.ip_manager'
ban.middleware: ban.middleware:
class: Drupal\ban\BanMiddleware class: Drupal\ban\BanMiddleware
arguments: ['@ban.ip_manager'] arguments: ['@ban.ip_manager']
......
...@@ -12,6 +12,7 @@ services: ...@@ -12,6 +12,7 @@ services:
big_pipe: big_pipe:
class: Drupal\big_pipe\Render\BigPipe class: Drupal\big_pipe\Render\BigPipe
arguments: ['@renderer', '@session', '@request_stack', '@http_kernel', '@event_dispatcher', '@config.factory'] arguments: ['@renderer', '@session', '@request_stack', '@http_kernel', '@event_dispatcher', '@config.factory']
Drupal\big_pipe\Render\BigPipe: '@big_pipe'
html_response.attachments_processor.big_pipe: html_response.attachments_processor.big_pipe:
public: false public: false
class: \Drupal\big_pipe\Render\BigPipeResponseAttachmentsProcessor class: \Drupal\big_pipe\Render\BigPipeResponseAttachmentsProcessor
......
...@@ -10,3 +10,4 @@ services: ...@@ -10,3 +10,4 @@ services:
block.repository: block.repository:
class: Drupal\block\BlockRepository class: Drupal\block\BlockRepository
arguments: ['@entity_type.manager', '@theme.manager', '@context.handler'] arguments: ['@entity_type.manager', '@theme.manager', '@context.handler']
Drupal\block\BlockRepositoryInterface: '@block.repository'
...@@ -7,17 +7,21 @@ services: ...@@ -7,17 +7,21 @@ services:
book.manager: book.manager:
class: Drupal\book\BookManager class: Drupal\book\BookManager
arguments: ['@entity_type.manager', '@string_translation', '@config.factory', '@book.outline_storage', '@renderer', '@language_manager', '@entity.repository', '@book.backend_chained_cache', '@book.memory_cache'] arguments: ['@entity_type.manager', '@string_translation', '@config.factory', '@book.outline_storage', '@renderer', '@language_manager', '@entity.repository', '@book.backend_chained_cache', '@book.memory_cache']
Drupal\book\BookManagerInterface: '@book.manager'
book.outline: book.outline:
class: Drupal\book\BookOutline class: Drupal\book\BookOutline
arguments: ['@book.manager'] arguments: ['@book.manager']
Drupal\book\BookOutline: '@book.outline'
book.export: book.export:
class: Drupal\book\BookExport class: Drupal\book\BookExport
arguments: ['@entity_type.manager', '@book.manager', '@entity.repository'] arguments: ['@entity_type.manager', '@book.manager', '@entity.repository']
Drupal\book\BookExport: '@book.export'
book.outline_storage: book.outline_storage:
class: Drupal\book\BookOutlineStorage class: Drupal\book\BookOutlineStorage
arguments: ['@database'] arguments: ['@database']
tags: tags:
- { name: backend_overridable } - { name: backend_overridable }
Drupal\book\BookOutlineStorageInterface: '@book.outline_storage'
access_check.book.removable: access_check.book.removable:
class: Drupal\book\Access\BookNodeIsRemovableAccessCheck class: Drupal\book\Access\BookNodeIsRemovableAccessCheck
arguments: ['@book.manager'] arguments: ['@book.manager']
......
...@@ -4,3 +4,4 @@ services: ...@@ -4,3 +4,4 @@ services:
arguments: ['@module_handler', '@theme_handler', '@cache.discovery', '@string_translation'] arguments: ['@module_handler', '@theme_handler', '@cache.discovery', '@string_translation']
tags: tags:
- { name: plugin_manager_cache_clear } - { name: plugin_manager_cache_clear }
Drupal\breakpoint\BreakpointManagerInterface: '@breakpoint.manager'
...@@ -2,6 +2,7 @@ services: ...@@ -2,6 +2,7 @@ services:
plugin.manager.ckeditor5.plugin: plugin.manager.ckeditor5.plugin:
class: Drupal\ckeditor5\Plugin\CKEditor5PluginManager class: Drupal\ckeditor5\Plugin\CKEditor5PluginManager
parent: default_plugin_manager parent: default_plugin_manager
Drupal\ckeditor5\Plugin\CKEditor5PluginManagerInterface: '@plugin.manager.ckeditor5.plugin'
# @todo Remove in Drupal 11: https://www.drupal.org/project/ckeditor5/issues/3239012 # @todo Remove in Drupal 11: https://www.drupal.org/project/ckeditor5/issues/3239012
plugin.manager.ckeditor4to5upgrade.plugin: plugin.manager.ckeditor4to5upgrade.plugin:
public: false public: false
...@@ -15,11 +16,13 @@ services: ...@@ -15,11 +16,13 @@ services:
- '@logger.channel.ckeditor5' - '@logger.channel.ckeditor5'
- '@module_handler' - '@module_handler'
- '@current_user' - '@current_user'
Drupal\ckeditor5\SmartDefaultSettings: '@ckeditor5.smart_default_settings'
ckeditor5.stylesheets.message: ckeditor5.stylesheets.message:
class: Drupal\ckeditor5\CKEditor5StylesheetsMessage class: Drupal\ckeditor5\CKEditor5StylesheetsMessage
arguments: arguments:
- '@theme_handler' - '@theme_handler'
- '@config.factory' - '@config.factory'
Drupal\ckeditor5\CKEditor5StylesheetsMessage: '@ckeditor5.stylesheets.message'
ckeditor5.ckeditor5_cache_tag: ckeditor5.ckeditor5_cache_tag:
class: Drupal\ckeditor5\EventSubscriber\CKEditor5CacheTag class: Drupal\ckeditor5\EventSubscriber\CKEditor5CacheTag
arguments: ['@cache_tags.invalidator'] arguments: ['@cache_tags.invalidator']
......
...@@ -8,12 +8,14 @@ services: ...@@ -8,12 +8,14 @@ services:
comment.manager: comment.manager:
class: Drupal\comment\CommentManager class: Drupal\comment\CommentManager
arguments: ['@entity_type.manager', '@config.factory', '@string_translation', '@module_handler', '@current_user', '@entity_field.manager', '@entity_display.repository'] arguments: ['@entity_type.manager', '@config.factory', '@string_translation', '@module_handler', '@current_user', '@entity_field.manager', '@entity_display.repository']
Drupal\comment\CommentManagerInterface: '@comment.manager'
comment.statistics: comment.statistics:
class: Drupal\comment\CommentStatistics class: Drupal\comment\CommentStatistics
arguments: ['@database', '@current_user', '@entity_type.manager', '@state', '@database.replica'] arguments: ['@database', '@current_user', '@entity_type.manager', '@state', '@database.replica']
tags: tags:
- { name: backend_overridable } - { name: backend_overridable }
Drupal\comment\CommentStatisticsInterface: '@comment.statistics'
comment.lazy_builders: comment.lazy_builders:
class: Drupal\comment\CommentLazyBuilders class: Drupal\comment\CommentLazyBuilders
...@@ -22,3 +24,4 @@ services: ...@@ -22,3 +24,4 @@ services:
comment.link_builder: comment.link_builder:
class: Drupal\comment\CommentLinkBuilder class: Drupal\comment\CommentLinkBuilder
arguments: ['@current_user', '@comment.manager', '@module_handler', '@string_translation', '@entity_type.manager'] arguments: ['@current_user', '@comment.manager', '@module_handler', '@string_translation', '@entity_type.manager']
Drupal\comment\CommentLinkBuilderInterface: '@comment.link_builder'
...@@ -25,3 +25,4 @@ services: ...@@ -25,3 +25,4 @@ services:
- '@module_handler' - '@module_handler'
- '@config.typed' - '@config.typed'
- '@theme_handler' - '@theme_handler'
Drupal\config_translation\ConfigMapperManagerInterface: '@plugin.manager.config_translation.mapper'
...@@ -7,6 +7,7 @@ services: ...@@ -7,6 +7,7 @@ services:
contact.mail_handler: contact.mail_handler:
class: Drupal\contact\MailHandler class: Drupal\contact\MailHandler
arguments: ['@plugin.manager.mail', '@language_manager', '@logger.channel.contact', '@string_translation', '@entity_type.manager'] arguments: ['@plugin.manager.mail', '@language_manager', '@logger.channel.contact', '@string_translation', '@entity_type.manager']
Drupal\contact\MailHandlerInterface: '@contact.mail_handler'
logger.channel.contact: logger.channel.contact:
class: Drupal\Core\Logger\LoggerChannel class: Drupal\Core\Logger\LoggerChannel
factory: ['@logger.factory', 'get'] factory: ['@logger.factory', 'get']
......
...@@ -2,9 +2,11 @@ services: ...@@ -2,9 +2,11 @@ services:
content_moderation.state_transition_validation: content_moderation.state_transition_validation:
class: Drupal\content_moderation\StateTransitionValidation class: Drupal\content_moderation\StateTransitionValidation
arguments: ['@content_moderation.moderation_information'] arguments: ['@content_moderation.moderation_information']
Drupal\content_moderation\StateTransitionValidationInterface: '@content_moderation.state_transition_validation'
content_moderation.moderation_information: content_moderation.moderation_information:
class: Drupal\content_moderation\ModerationInformation class: Drupal\content_moderation\ModerationInformation
arguments: ['@entity_type.manager', '@entity_type.bundle.info'] arguments: ['@entity_type.manager', '@entity_type.bundle.info']
Drupal\content_moderation\ModerationInformationInterface: '@content_moderation.moderation_information'
access_check.latest_revision: access_check.latest_revision:
class: Drupal\content_moderation\Access\LatestRevisionCheck class: Drupal\content_moderation\Access\LatestRevisionCheck
arguments: ['@content_moderation.moderation_information'] arguments: ['@content_moderation.moderation_information']
......
...@@ -2,6 +2,7 @@ services: ...@@ -2,6 +2,7 @@ services:
content_translation.synchronizer: content_translation.synchronizer:
class: Drupal\content_translation\FieldTranslationSynchronizer class: Drupal\content_translation\FieldTranslationSynchronizer
arguments: ['@entity_type.manager', '@plugin.manager.field.field_type'] arguments: ['@entity_type.manager', '@plugin.manager.field.field_type']
Drupal\content_translation\FieldTranslationSynchronizerInterface: '@content_translation.synchronizer'
content_translation.subscriber: content_translation.subscriber:
class: Drupal\content_translation\Routing\ContentTranslationRouteSubscriber class: Drupal\content_translation\Routing\ContentTranslationRouteSubscriber
...@@ -30,3 +31,5 @@ services: ...@@ -30,3 +31,5 @@ services:
content_translation.manager: content_translation.manager:
class: Drupal\content_translation\ContentTranslationManager class: Drupal\content_translation\ContentTranslationManager
arguments: ['@entity_type.manager', '@entity_type.bundle.info'] arguments: ['@entity_type.manager', '@entity_type.bundle.info']
Drupal\content_translation\ContentTranslationManagerInterface: '@content_translation.manager'
Drupal\content_translation\BundleTranslationSettingsInterface: '@content_translation.manager'
...@@ -7,6 +7,8 @@ services: ...@@ -7,6 +7,8 @@ services:
file.upload_handler: file.upload_handler:
class: Drupal\file\Upload\FileUploadHandler class: Drupal\file\Upload\FileUploadHandler
arguments: [ '@file_system', '@entity_type.manager', '@stream_wrapper_manager', '@event_dispatcher', '@file.mime_type.guesser', '@current_user', '@request_stack', '@file.repository' ] arguments: [ '@file_system', '@entity_type.manager', '@stream_wrapper_manager', '@event_dispatcher', '@file.mime_type.guesser', '@current_user', '@request_stack', '@file.repository' ]
Drupal\file\Upload\FileUploadHandler: '@file.upload_handler'
file.repository: file.repository:
class: Drupal\file\FileRepository class: Drupal\file\FileRepository
arguments: [ '@file_system', '@stream_wrapper_manager', '@entity_type.manager', '@module_handler', '@file.usage', '@current_user' ] arguments: [ '@file_system', '@stream_wrapper_manager', '@entity_type.manager', '@module_handler', '@file.usage', '@current_user' ]
Drupal\file\FileRepositoryInterface: '@file.repository'
...@@ -4,6 +4,7 @@ services: ...@@ -4,6 +4,7 @@ services:
arguments: ['@config.factory', '@entity_type.manager', '@database', '@string_translation', '@comment.manager', '@entity_field.manager'] arguments: ['@config.factory', '@entity_type.manager', '@database', '@string_translation', '@comment.manager', '@entity_field.manager']
tags: tags:
- { name: backend_overridable } - { name: backend_overridable }
Drupal\forum\ForumManagerInterface: '@forum_manager'
forum.breadcrumb.node: forum.breadcrumb.node:
class: Drupal\forum\Breadcrumb\ForumNodeBreadcrumbBuilder class: Drupal\forum\Breadcrumb\ForumNodeBreadcrumbBuilder
arguments: ['@entity_type.manager', '@config.factory', '@forum_manager', '@string_translation'] arguments: ['@entity_type.manager', '@config.factory', '@forum_manager', '@string_translation']
...@@ -19,6 +20,7 @@ services: ...@@ -19,6 +20,7 @@ services:
arguments: ['@database'] arguments: ['@database']
tags: tags:
- { name: backend_overridable } - { name: backend_overridable }
Drupal\forum\ForumIndexStorageInterface: '@forum.index_storage'
forum.uninstall_validator: forum.uninstall_validator:
class: Drupal\forum\ForumUninstallValidator class: Drupal\forum\ForumUninstallValidator
......
...@@ -8,6 +8,7 @@ services: ...@@ -8,6 +8,7 @@ services:
plugin.manager.help_topic: plugin.manager.help_topic:
class: Drupal\help_topics\HelpTopicPluginManager class: Drupal\help_topics\HelpTopicPluginManager
arguments: ['@module_handler', '@theme_handler', '@cache.discovery', '%app.root%'] arguments: ['@module_handler', '@theme_handler', '@cache.discovery', '%app.root%']
Drupal\help_topics\HelpTopicPluginManagerInterface: '@plugin.manager.help_topic'
help.twig.loader: help.twig.loader:
class: Drupal\help_topics\HelpTopicTwigLoader class: Drupal\help_topics\HelpTopicTwigLoader
arguments: ['%app.root%', '@module_handler', '@theme_handler'] arguments: ['%app.root%', '@module_handler', '@theme_handler']
......
...@@ -84,6 +84,7 @@ services: ...@@ -84,6 +84,7 @@ services:
jsonapi.resource_type.repository: jsonapi.resource_type.repository:
class: Drupal\jsonapi\ResourceType\ResourceTypeRepository class: Drupal\jsonapi\ResourceType\ResourceTypeRepository
arguments: ['@entity_type.manager', '@entity_type.bundle.info', '@entity_field.manager', '@cache.jsonapi_resource_types', '@event_dispatcher'] arguments: ['@entity_type.manager', '@entity_type.bundle.info', '@entity_field.manager', '@cache.jsonapi_resource_types', '@event_dispatcher']
Drupal\jsonapi\ResourceType\ResourceTypeRepositoryInterface: '@jsonapi.resource_type.repository'
jsonapi.route_enhancer: jsonapi.route_enhancer:
class: Drupal\jsonapi\Routing\RouteEnhancer class: Drupal\jsonapi\Routing\RouteEnhancer
tags: tags:
...@@ -91,11 +92,13 @@ services: ...@@ -91,11 +92,13 @@ services:
jsonapi.field_resolver: jsonapi.field_resolver:
class: Drupal\jsonapi\Context\FieldResolver class: Drupal\jsonapi\Context\FieldResolver
arguments: ['@entity_type.manager', '@entity_field.manager', '@entity_type.bundle.info', '@jsonapi.resource_type.repository', '@module_handler', '@current_user'] arguments: ['@entity_type.manager', '@entity_field.manager', '@entity_type.bundle.info', '@jsonapi.resource_type.repository', '@module_handler', '@current_user']
Drupal\jsonapi\Context\FieldResolver: '@jsonapi.field_resolver'
jsonapi.include_resolver: jsonapi.include_resolver:
class: Drupal\jsonapi\IncludeResolver class: Drupal\jsonapi\IncludeResolver
arguments: arguments:
- '@entity_type.manager' - '@entity_type.manager'
- '@jsonapi.entity_access_checker' - '@jsonapi.entity_access_checker'
Drupal\jsonapi\IncludeResolver: '@jsonapi.include_resolver'
paramconverter.jsonapi.entity_uuid: paramconverter.jsonapi.entity_uuid:
parent: paramconverter.entity parent: paramconverter.entity
class: Drupal\jsonapi\ParamConverter\EntityUuidConverter class: Drupal\jsonapi\ParamConverter\EntityUuidConverter
...@@ -158,6 +161,7 @@ services: ...@@ -158,6 +161,7 @@ services:
calls: calls:
# This is a temporary measure. JSON:API should not need to be aware of the Content Moderation module. # This is a temporary measure. JSON:API should not need to be aware of the Content Moderation module.
- [setLatestRevisionCheck, ['@?access_check.latest_revision']] # This is only injected when the service is available. - [setLatestRevisionCheck, ['@?access_check.latest_revision']] # This is only injected when the service is available.
Drupal\jsonapi\Access\EntityAccessChecker: '@jsonapi.entity_access_checker'
access_check.jsonapi.relationship_route_access: access_check.jsonapi.relationship_route_access:
class: Drupal\jsonapi\Access\RelationshipRouteAccessCheck class: Drupal\jsonapi\Access\RelationshipRouteAccessCheck
arguments: ['@jsonapi.entity_access_checker'] arguments: ['@jsonapi.entity_access_checker']
...@@ -186,6 +190,7 @@ services: ...@@ -186,6 +190,7 @@ services:
- '@jsonapi.serializer' - '@jsonapi.serializer'
- '@datetime.time' - '@datetime.time'
- '@current_user' - '@current_user'
Drupal\jsonapi\Controller\EntityResource: '@jsonapi.entity_resource'
jsonapi.file_upload: jsonapi.file_upload:
class: Drupal\jsonapi\Controller\FileUpload class: Drupal\jsonapi\Controller\FileUpload
arguments: arguments:
...@@ -193,6 +198,7 @@ services: ...@@ -193,6 +198,7 @@ services:
- '@entity_field.manager' - '@entity_field.manager'
- '@jsonapi.file.uploader.field' - '@jsonapi.file.uploader.field'
- '@http_kernel' - '@http_kernel'
Drupal\jsonapi\Controller\FileUpload: '@jsonapi.file_upload'
# Event subscribers. # Event subscribers.
jsonapi.custom_query_parameter_names_validator.subscriber: jsonapi.custom_query_parameter_names_validator.subscriber:
...@@ -223,6 +229,7 @@ services: ...@@ -223,6 +229,7 @@ services:
public: false public: false
tags: tags:
- { name: service_collector, tag: jsonapi_version_negotiator, call: addVersionNegotiator } - { name: service_collector, tag: jsonapi_version_negotiator, call: addVersionNegotiator }
Drupal\jsonapi\Revisions\VersionNegotiator: '@jsonapi.version_negotiator'
jsonapi.version_negotiator.default: jsonapi.version_negotiator.default:
arguments: ['@entity_type.manager'] arguments: ['@entity_type.manager']
public: false public: false
...@@ -250,3 +257,4 @@ services: ...@@ -250,3 +257,4 @@ services:
class: Drupal\jsonapi\Controller\TemporaryJsonapiFileFieldUploader class: Drupal\jsonapi\Controller\TemporaryJsonapiFileFieldUploader
public: false public: false
arguments: ['@logger.channel.file', '@file_system', '@file.mime_type.guesser', '@token', '@lock', '@config.factory'] arguments: ['@logger.channel.file', '@file_system', '@file.mime_type.guesser', '@token', '@lock', '@config.factory']
Drupal\jsonapi\Controller\TemporaryJsonapiFileFieldUploader: '@jsonapi.file.uploader.field'
...@@ -7,6 +7,7 @@ services: ...@@ -7,6 +7,7 @@ services:
arguments: ['@language_manager', '@plugin.manager.language_negotiation_method', '@config.factory', '@settings', '@request_stack'] arguments: ['@language_manager', '@plugin.manager.language_negotiation_method', '@config.factory', '@settings', '@request_stack']
calls: calls:
- [initLanguageManager] - [initLanguageManager]
Drupal\language\LanguageNegotiatorInterface: '@language_negotiator'
language.config_subscriber: language.config_subscriber:
class: Drupal\language\EventSubscriber\ConfigSubscriber class: Drupal\language\EventSubscriber\ConfigSubscriber
arguments: ['@language_manager', '@language.default', '@config.factory', '@language_negotiator'] arguments: ['@language_manager', '@language.default', '@config.factory', '@language_negotiator']
...@@ -18,6 +19,8 @@ services: ...@@ -18,6 +19,8 @@ services:
tags: tags:
- { name: config.factory.override, priority: -254 } - { name: config.factory.override, priority: -254 }
- { name: event_subscriber } - { name: event_subscriber }
Drupal\language\Config\LanguageConfigFactoryOverrideInterface: '@language.config_factory_override'
Drupal\Core\Config\ConfigFactoryOverrideInterface: '@language.config_factory_override'
language_converter: language_converter:
class: Drupal\language\LanguageConverter class: Drupal\language\LanguageConverter
arguments: ['@language_manager'] arguments: ['@language_manager']
......
...@@ -2,6 +2,7 @@ services: ...@@ -2,6 +2,7 @@ services:
layout_builder.tempstore_repository: layout_builder.tempstore_repository:
class: Drupal\layout_builder\LayoutTempstoreRepository class: Drupal\layout_builder\LayoutTempstoreRepository
arguments: ['@tempstore.shared'] arguments: ['@tempstore.shared']
Drupal\layout_builder\LayoutTempstoreRepositoryInterface: '@layout_builder.tempstore_repository'
access_check.entity.layout_builder_access: access_check.entity.layout_builder_access:
class: Drupal\layout_builder\Access\LayoutBuilderAccessCheck class: Drupal\layout_builder\Access\LayoutBuilderAccessCheck
tags: tags:
...@@ -10,6 +11,7 @@ services: ...@@ -10,6 +11,7 @@ services:
class: Drupal\layout_builder\SectionStorage\SectionStorageManager class: Drupal\layout_builder\SectionStorage\SectionStorageManager
parent: default_plugin_manager parent: default_plugin_manager
arguments: ['@context.handler'] arguments: ['@context.handler']
Drupal\layout_builder\SectionStorage\SectionStorageManagerInterface: '@plugin.manager.layout_builder.section_storage'
layout_builder.routes: layout_builder.routes:
class: Drupal\layout_builder\Routing\LayoutBuilderRoutes class: Drupal\layout_builder\Routing\LayoutBuilderRoutes
arguments: ['@plugin.manager.layout_builder.section_storage'] arguments: ['@plugin.manager.layout_builder.section_storage']
...@@ -38,6 +40,7 @@ services: ...@@ -38,6 +40,7 @@ services:
layout_builder.sample_entity_generator: layout_builder.sample_entity_generator:
class: Drupal\layout_builder\Entity\LayoutBuilderSampleEntityGenerator class: Drupal\layout_builder\Entity\LayoutBuilderSampleEntityGenerator
arguments: ['@tempstore.shared', '@entity_type.manager'] arguments: ['@tempstore.shared', '@entity_type.manager']
Drupal\layout_builder\Entity\SampleEntityGeneratorInterface: '@layout_builder.sample_entity_generator'
layout_builder.render_block_component_subscriber: layout_builder.render_block_component_subscriber:
class: Drupal\layout_builder\EventSubscriber\BlockComponentRenderArray class: Drupal\layout_builder\EventSubscriber\BlockComponentRenderArray
arguments: ['@current_user'] arguments: ['@current_user']
...@@ -49,6 +52,7 @@ services: ...@@ -49,6 +52,7 @@ services:
inline_block.usage: inline_block.usage:
class: Drupal\layout_builder\InlineBlockUsage class: Drupal\layout_builder\InlineBlockUsage
arguments: ['@database'] arguments: ['@database']
Drupal\layout_builder\InlineBlockUsageInterface: '@inline_block.usage'
layout_builder.controller.entity_form: layout_builder.controller.entity_form:
# Override the entity form controller to handle the entity layout_builder # Override the entity form controller to handle the entity layout_builder
# operation. # operation.
...@@ -56,6 +60,7 @@ services: ...@@ -56,6 +60,7 @@ services:
class: Drupal\layout_builder\Controller\LayoutBuilderHtmlEntityFormController class: Drupal\layout_builder\Controller\LayoutBuilderHtmlEntityFormController
public: false public: false
arguments: ['@layout_builder.controller.entity_form.inner'] arguments: ['@layout_builder.controller.entity_form.inner']
Drupal\layout_builder\Controller\LayoutBuilderHtmlEntityFormController: '@layout_builder.controller.entity_form'
layout_builder.element.prepare_layout: layout_builder.element.prepare_layout:
class: Drupal\layout_builder\EventSubscriber\PrepareLayout class: Drupal\layout_builder\EventSubscriber\PrepareLayout
arguments: ['@layout_builder.tempstore_repository', '@messenger'] arguments: ['@layout_builder.tempstore_repository', '@messenger']
......
...@@ -2,6 +2,8 @@ services: ...@@ -2,6 +2,8 @@ services:
plugin.manager.core.layout: plugin.manager.core.layout:
class: Drupal\Core\Layout\LayoutPluginManager class: Drupal\Core\Layout\LayoutPluginManager
arguments: ['@container.namespaces', '@cache.discovery', '@module_handler', '@theme_handler'] arguments: ['@container.namespaces', '@cache.discovery', '@module_handler', '@theme_handler']
Drupal\Core\Layout\LayoutPluginManagerInterface: '@plugin.manager.core.layout'
layout.icon_builder: layout.icon_builder:
class: Drupal\Core\Layout\Icon\SvgIconBuilder class: Drupal\Core\Layout\Icon\SvgIconBuilder
shared: false shared: false
Drupal\Core\Layout\Icon\IconBuilderInterface: '@layout.icon_builder'
...@@ -3,20 +3,25 @@ services: ...@@ -3,20 +3,25 @@ services:
class: Drupal\locale\LocaleDefaultConfigStorage class: Drupal\locale\LocaleDefaultConfigStorage
arguments: ['@config.storage', '@language_manager', '%install_profile%'] arguments: ['@config.storage', '@language_manager', '%install_profile%']
public: false public: false
Drupal\locale\LocaleDefaultConfigStorage: '@locale.default.config.storage'
locale.config_manager: locale.config_manager:
class: Drupal\locale\LocaleConfigManager class: Drupal\locale\LocaleConfigManager
arguments: ['@config.storage', '@locale.storage', '@config.factory', '@config.typed', '@language_manager', '@locale.default.config.storage', '@config.manager'] arguments: ['@config.storage', '@locale.storage', '@config.factory', '@config.typed', '@language_manager', '@locale.default.config.storage', '@config.manager']
Drupal\locale\LocaleConfigManager: '@locale.config_manager'
locale.storage: locale.storage:
class: Drupal\locale\StringDatabaseStorage class: Drupal\locale\StringDatabaseStorage
arguments: ['@database'] arguments: ['@database']
tags: tags:
- { name: backend_overridable } - { name: backend_overridable }
Drupal\locale\StringStorageInterface: '@locale.storage'
locale.project: locale.project:
class: Drupal\locale\LocaleProjectStorage class: Drupal\locale\LocaleProjectStorage
arguments: ['@keyvalue'] arguments: ['@keyvalue']
Drupal\locale\LocaleProjectStorageInterface: '@locale.project'
locale.plural.formula: locale.plural.formula:
class: Drupal\locale\PluralFormula class: Drupal\locale\PluralFormula
arguments: ['@language_manager', '@state'] arguments: ['@language_manager', '@state']
Drupal\locale\PluralFormulaInterface: '@locale.plural.formula'
string_translator.locale.lookup: string_translator.locale.lookup:
class: Drupal\locale\LocaleTranslation class: Drupal\locale\LocaleTranslation
arguments: ['@locale.storage', '@cache.default', '@lock', '@config.factory', '@language_manager', '@request_stack'] arguments: ['@locale.storage', '@cache.default', '@lock', '@config.factory', '@language_manager', '@request_stack']
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment