Skip to content
Snippets Groups Projects
Commit 973a74ad authored by Gábor Hojtsy's avatar Gábor Hojtsy
Browse files

Issue #3114785 by slootjes, longwave: [Symfony 5] Update deprecated short...

Issue #3114785 by slootjes, longwave: [Symfony 5] Update deprecated short factory configurators in Yaml
parent d7d6c957
No related branches found
No related tags found
6 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!1012Issue #3226887: Hreflang on non-canonical content pages,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10,!596Issue #3046532: deleting an entity reference field, used in a contextual view, makes the whole site unrecoverable,!496Issue #2463967: Use .user.ini file for PHP settings,!144Issue #2666286: Clean up menu_ui to conform to Drupal coding standards
......@@ -477,7 +477,7 @@
* class: Drupal\Core\Cache\CacheBackendInterface
* tags:
* - { name: cache.bin }
* factory: cache_factory:get
* factory: ['@cache_factory', 'get']
* arguments: [nameofbin]
* @endcode
* See the @link container Services topic @endlink for more on defining
......@@ -772,7 +772,7 @@
* class: Drupal\Core\Cache\CacheBackendInterface
* tags:
* - { name: cache.bin }
* factory: cache_factory:get
* factory: ['@cache_factory', 'get']
* arguments: [entity]
* @endcode
*
......
......@@ -212,55 +212,55 @@ services:
class: Drupal\Core\Cache\CacheBackendInterface
tags:
- { name: cache.bin, default_backend: cache.backend.memory }
factory: cache_factory:get
factory: ['@cache_factory', 'get']
arguments: [static]
cache.bootstrap:
class: Drupal\Core\Cache\CacheBackendInterface
tags:
- { name: cache.bin, default_backend: cache.backend.chainedfast }
factory: cache_factory:get
factory: ['@cache_factory', 'get']
arguments: [bootstrap]
cache.config:
class: Drupal\Core\Cache\CacheBackendInterface
tags:
- { name: cache.bin, default_backend: cache.backend.chainedfast }
factory: cache_factory:get
factory: ['@cache_factory', 'get']
arguments: [config]
cache.default:
class: Drupal\Core\Cache\CacheBackendInterface
tags:
- { name: cache.bin }
factory: cache_factory:get
factory: ['@cache_factory', 'get']
arguments: [default]
cache.entity:
class: Drupal\Core\Cache\CacheBackendInterface
tags:
- { name: cache.bin }
factory: cache_factory:get
factory: ['@cache_factory', 'get']
arguments: [entity]
cache.menu:
class: Drupal\Core\Cache\CacheBackendInterface
tags:
- { name: cache.bin }
factory: cache_factory:get
factory: ['@cache_factory', 'get']
arguments: [menu]
cache.render:
class: Drupal\Core\Cache\CacheBackendInterface
tags:
- { name: cache.bin }
factory: cache_factory:get
factory: ['@cache_factory', 'get']
arguments: [render]
cache.data:
class: Drupal\Core\Cache\CacheBackendInterface
tags:
- { name: cache.bin }
factory: cache_factory:get
factory: ['@cache_factory', 'get']
arguments: [data]
cache.discovery:
class: Drupal\Core\Cache\CacheBackendInterface
tags:
- { name: cache.bin, default_backend: cache.backend.chainedfast }
factory: cache_factory:get
factory: ['@cache_factory', 'get']
arguments: [discovery]
cache_router_rebuild_subscriber:
class: Drupal\Core\EventSubscriber\CacheRouterRebuildSubscriber
......@@ -419,7 +419,7 @@ services:
logger.channel_base:
abstract: true
class: Drupal\Core\Logger\LoggerChannel
factory: logger.factory:get
factory: ['@logger.factory', 'get']
logger.channel.default:
parent: logger.channel_base
arguments: ['system']
......@@ -434,7 +434,7 @@ services:
arguments: ['cron']
logger.channel.file:
class: Drupal\Core\Logger\LoggerChannel
factory: logger.factory:get
factory: ['@logger.factory', 'get']
arguments: ['file']
logger.channel.form:
parent: logger.channel_base
......@@ -480,7 +480,7 @@ services:
arguments: ['@service_container']
http_client:
class: GuzzleHttp\Client
factory: http_client_factory:fromOptions
factory: ['@http_client_factory', 'fromOptions']
http_client_factory:
class: Drupal\Core\Http\ClientFactory
arguments: ['@http_handler_stack']
......@@ -698,7 +698,7 @@ services:
arguments: ['@service_container']
app.root:
class: SplString
factory: app.root.factory:get
factory: ['@app.root.factory', 'get']
tags:
- { name: parameter_service }
app.root.factory:
......@@ -707,7 +707,7 @@ services:
public: false
site.path:
class: SplString
factory: site.path.factory:get
factory: ['@site.path.factory', 'get']
tags:
- { name: parameter_service }
site.path.factory:
......
......@@ -9,5 +9,5 @@ services:
arguments: ['@plugin.manager.mail', '@language_manager', '@logger.channel.contact', '@string_translation', '@entity_type.manager']
logger.channel.contact:
class: Drupal\Core\Logger\LoggerChannel
factory: logger.factory:get
factory: ['@logger.factory', 'get']
arguments: ['contact']
......@@ -3,7 +3,7 @@ services:
class: Drupal\Core\Cache\CacheBackendInterface
tags:
- { name: cache.bin }
factory: cache_factory:get
factory: ['@cache_factory', 'get']
arguments: [dynamic_page_cache]
dynamic_page_cache_subscriber:
class: Drupal\dynamic_page_cache\EventSubscriber\DynamicPageCacheSubscriber
......
......@@ -138,7 +138,7 @@ services:
class: Drupal\Core\Cache\CacheBackendInterface
tags:
- { name: cache.bin }
factory: cache_factory:get
factory: ['@cache_factory', 'get']
arguments: [jsonapi_normalizations]
# Route filter.
......
......@@ -7,7 +7,7 @@ services:
class: Drupal\Core\Cache\CacheBackendInterface
tags:
- { name: cache.bin }
factory: cache_factory:get
factory: ['@cache_factory', 'get']
arguments: [migrate]
plugin.manager.migrate.source:
class: Drupal\migrate\Plugin\MigrateSourcePluginManager
......@@ -25,7 +25,7 @@ services:
class: Drupal\Core\Cache\CacheBackendInterface
tags:
- { name: cache.bin }
factory: cache_factory:get
factory: ['@cache_factory', 'get']
arguments: [discovery_migration]
plugin.manager.migration:
class: Drupal\migrate\Plugin\MigrationPluginManager
......
......@@ -9,5 +9,5 @@ services:
class: Drupal\Core\Cache\CacheBackendInterface
tags:
- { name: cache.bin }
factory: cache_factory:get
factory: ['@cache_factory', 'get']
arguments: [page]
......@@ -6,7 +6,7 @@ services:
class: Drupal\Core\Cache\CacheBackendInterface
tags:
- { name: cache.bin }
factory: cache_factory:get
factory: ['@cache_factory', 'get']
arguments: [rest]
rest.resource_routes:
class: Drupal\rest\Routing\ResourceRoutes
......
......@@ -3,5 +3,5 @@ services:
class: Drupal\Core\Cache\CacheBackendInterface
tags:
- { name: cache.bin }
factory: cache.backend.database:get
factory: ['@cache.backend.database', 'get']
arguments: [module_cachebin]
......@@ -3,7 +3,7 @@ services:
class: Drupal\Core\Cache\CacheBackendInterface
tags:
- { name: cache.bin }
factory: cache_factory:get
factory: ['@cache_factory', 'get']
arguments: [toolbar]
toolbar.page_cache_request_policy.allow_toolbar_path:
class: Drupal\toolbar\PageCache\AllowToolbarPath
......
......@@ -15,7 +15,7 @@ services:
arguments: ['@config.factory', '@http_client']
update.root:
class: SplString
factory: update.root.factory:get
factory: ['@update.root.factory', 'get']
tags:
- { name: parameter_service }
update.root.factory:
......
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