-
Notifications
You must be signed in to change notification settings - Fork 55
/
core.services.yml
1926 lines (1920 loc) · 86.7 KB
/
core.services.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
parameters:
# The app.root and site.path parameters are dynamically set by
# \Drupal\Core\DrupalKernel::initializeContainer(). They are listed here to
# allow IDEs to autocomplete them when writing new service YAML files.
app.root: ''
site.path: ''
# \Drupal\Core\Cache\ListCacheBinsPass::process() will override this but defining this allows the cache system to
# function properly before that runs.
cache_default_bin_backends: []
memory_cache_default_bin_backends: []
security.enable_super_user: true
session.storage.options:
gc_probability: 1
gc_divisor: 100
gc_maxlifetime: 200000
cookie_lifetime: 2000000
cookie_samesite: Lax
name_suffix: ''
twig.config:
debug: false
auto_reload: null
cache: true
allowed_file_extensions:
- css
- html
- js
- svg
- twig
renderer.config:
required_cache_contexts: ['languages:language_interface', 'theme', 'user.permissions']
auto_placeholder_conditions:
max-age: 0
contexts: ['session', 'user']
tags: []
debug: false
factory.keyvalue:
default: keyvalue.database
http.response.debug_cacheability_headers: false
factory.keyvalue.expirable:
default: keyvalue.expirable.database
filter_protocols:
- http
- https
- ftp
- news
- nntp
- tel
- telnet
- mailto
- irc
- ssh
- sftp
- webcal
- rtsp
cors.config:
enabled: false
allowedHeaders: []
allowedMethods: []
allowedOrigins: ['*']
exposedHeaders: false
maxAge: false
supportsCredentials: false
tempstore.expire: 604800
queue.config:
suspendMaximumWait: 30.0
services:
_defaults:
autoconfigure: true
plugin.manager.config_action:
class: Drupal\Core\Config\Action\ConfigActionManager
parent: default_plugin_manager
arguments: ['@config.manager', '@config.storage', '@config.typed', '@config.factory']
Drupal\Core\DefaultContent\Importer:
autowire: true
Drupal\Core\DefaultContent\AdminAccountSwitcher:
arguments:
$isSuperUserAccessEnabled: '%security.enable_super_user%'
autowire: true
public: false
# Simple cache contexts, directly derived from the request context.
cache_context.ip:
class: Drupal\Core\Cache\Context\IpCacheContext
arguments: ['@request_stack']
tags:
- { name: cache.context }
cache_context.protocol_version:
class: Drupal\Core\Cache\Context\ProtocolVersionCacheContext
arguments: ['@request_stack']
tags:
- { name: cache.context }
cache_context.headers:
class: Drupal\Core\Cache\Context\HeadersCacheContext
arguments: ['@request_stack']
tags:
- { name: cache.context }
cache_context.cookies:
class: Drupal\Core\Cache\Context\CookiesCacheContext
arguments: ['@request_stack']
tags:
- { name: cache.context }
cache_context.session:
class: Drupal\Core\Cache\Context\SessionCacheContext
arguments: ['@request_stack']
tags:
- { name: cache.context}
cache_context.session.exists:
class: Drupal\Core\Cache\Context\SessionExistsCacheContext
arguments: ['@session_configuration', '@request_stack']
tags:
- { name: cache.context}
cache_context.request_format:
class: Drupal\Core\Cache\Context\RequestFormatCacheContext
arguments: ['@request_stack']
tags:
- { name: cache.context }
cache_context.url:
class: Drupal\Core\Cache\Context\UrlCacheContext
arguments: ['@request_stack']
tags:
- { name: cache.context }
cache_context.url.site:
class: Drupal\Core\Cache\Context\SiteCacheContext
arguments: ['@request_stack']
tags:
- { name: cache.context }
cache_context.url.path:
class: Drupal\Core\Cache\Context\PathCacheContext
arguments: ['@request_stack']
tags:
- { name: cache.context }
cache_context.url.path.parent:
class: Drupal\Core\Cache\Context\PathParentCacheContext
arguments: ['@request_stack']
tags:
- { name: cache.context }
cache_context.url.path.is_front:
class: Drupal\Core\Cache\Context\IsFrontPathCacheContext
arguments: ['@path.matcher']
tags:
- { name: cache.context }
cache_context.url.query_args:
class: Drupal\Core\Cache\Context\QueryArgsCacheContext
arguments: ['@request_stack']
tags:
- { name: cache.context }
cache_context.url.query_args.pagers:
class: Drupal\Core\Cache\Context\PagersCacheContext
arguments: ['@pager.parameters']
tags:
- { name: cache.context }
# Complex cache contexts, that depend on the routing system.
cache_context.route:
class: Drupal\Core\Cache\Context\RouteCacheContext
arguments: ['@current_route_match']
tags:
- { name: cache.context }
cache_context.route.name:
class: Drupal\Core\Cache\Context\RouteNameCacheContext
arguments: ['@current_route_match']
tags:
- { name: cache.context }
cache_context.route.menu_active_trails:
class: Drupal\Core\Cache\Context\MenuActiveTrailsCacheContext
arguments: ['@menu.active_trail']
tags:
- { name: cache.context }
# Complex cache contexts, that may be calculated from a combination of
# multiple aspects of the request context plus additional logic. Hence they
# are their own roots.
cache_context.user:
class: Drupal\Core\Cache\Context\UserCacheContext
arguments: ['@current_user']
tags:
- { name: cache.context}
cache_context.user.permissions:
class: Drupal\Core\Cache\Context\AccountPermissionsCacheContext
arguments: ['@current_user', '@user_permissions_hash_generator']
tags:
- { name: cache.context}
cache_context.user.roles:
class: Drupal\Core\Cache\Context\UserRolesCacheContext
arguments: ['@current_user']
tags:
- { name: cache.context}
cache_context.user.is_super_user:
class: Drupal\Core\Cache\Context\IsSuperUserCacheContext
arguments: ['@current_user']
tags:
- { name: cache.context}
cache_context.languages:
class: Drupal\Core\Cache\Context\LanguagesCacheContext
arguments: ['@language_manager']
tags:
- { name: cache.context}
cache_context.theme:
class: Drupal\Core\Cache\Context\ThemeCacheContext
arguments: ['@theme.manager']
tags:
- { name: cache.context}
cache_context.timezone:
class: Drupal\Core\Cache\Context\TimeZoneCacheContext
tags:
- { name: cache.context}
cache_factory:
class: Drupal\Core\Cache\CacheFactory
arguments: ['@settings', '%cache_default_bin_backends%', '%memory_cache_default_bin_backends%']
calls:
- [setContainer, ['@service_container']]
Drupal\Core\Cache\CacheFactoryInterface: '@cache_factory'
variation_cache_factory:
class: Drupal\Core\Cache\VariationCacheFactory
arguments: ['@request_stack', '@cache_factory', '@cache_contexts_manager']
Drupal\Core\Cache\VariationCacheFactory: '@variation_cache_factory'
cache_contexts_manager:
class: Drupal\Core\Cache\Context\CacheContextsManager
arguments: ['@service_container', '%cache_contexts%' ]
Drupal\Core\Cache\Context\CacheContextsManager: '@cache_contexts_manager'
cache_tags.invalidator:
class: Drupal\Core\Cache\CacheTagsInvalidator
tags:
- { name: service_collector, call: addInvalidator, tag: cache_tags_invalidator }
- { name: service_collector, call: addBin, tag: cache.bin }
- { name: service_collector, call: addBin, tag: cache.bin.memory }
Drupal\Core\Cache\CacheTagsInvalidatorInterface: '@cache_tags.invalidator'
cache_tags.invalidator.checksum:
class: Drupal\Core\Cache\DatabaseCacheTagsChecksum
arguments: ['@database']
tags:
- { name: cache_tags_invalidator}
- { name: backend_overridable }
Drupal\Core\Cache\CacheTagsChecksumInterface: '@cache_tags.invalidator.checksum'
cache.backend.chainedfast:
class: Drupal\Core\Cache\ChainedFastBackendFactory
arguments: ['@settings']
calls:
- [setContainer, ['@service_container']]
cache.backend.database:
class: Drupal\Core\Cache\DatabaseBackendFactory
arguments: ['@database', '@cache_tags.invalidator.checksum', '@settings', '@serialization.phpserialize', '@datetime.time']
tags:
- { name: backend_overridable }
cache.backend.apcu:
class: Drupal\Core\Cache\ApcuBackendFactory
arguments: ['%app.root%', '%site.path%', '@cache_tags.invalidator.checksum', '@datetime.time']
cache.backend.php:
class: Drupal\Core\Cache\PhpBackendFactory
arguments: ['@cache_tags.invalidator.checksum', '@datetime.time']
cache.backend.memory:
class: Drupal\Core\Cache\MemoryBackendFactory
arguments: ['@datetime.time']
cache.backend.memory.memory:
class: Drupal\Core\Cache\MemoryCache\MemoryCacheFactory
arguments: ['@datetime.time']
# A special cache bin that does not persist beyond the length of the request.
cache.static:
class: Drupal\Core\Cache\CacheBackendInterface
tags:
- { name: cache.bin, default_backend: cache.backend.memory }
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']
arguments: [bootstrap]
cache.config:
class: Drupal\Core\Cache\CacheBackendInterface
tags:
- { name: cache.bin, default_backend: cache.backend.chainedfast }
factory: ['@cache_factory', 'get']
arguments: [config]
cache.default:
class: Drupal\Core\Cache\CacheBackendInterface
tags:
- { name: cache.bin }
factory: ['@cache_factory', 'get']
arguments: [default]
cache.entity:
class: Drupal\Core\Cache\CacheBackendInterface
tags:
- { name: cache.bin }
factory: ['@cache_factory', 'get']
arguments: [entity]
cache.menu:
class: Drupal\Core\Cache\CacheBackendInterface
tags:
- { name: cache.bin }
factory: ['@cache_factory', 'get']
arguments: [menu]
cache.render:
class: Drupal\Core\Cache\CacheBackendInterface
tags:
- { name: cache.bin }
factory: ['@cache_factory', 'get']
arguments: [render]
cache.access_policy:
class: Drupal\Core\Cache\CacheBackendInterface
tags:
- { name: cache.bin }
factory: ['@cache_factory', 'get']
arguments: [access_policy]
cache.access_policy_memory:
class: Drupal\Core\Cache\CacheBackendInterface
tags:
- { name: cache.bin.memory, default_backend: cache.backend.memory.memory }
factory: ['@cache_factory', 'get']
arguments: [access_policy_memory]
cache.data:
class: Drupal\Core\Cache\CacheBackendInterface
tags:
- { name: cache.bin }
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']
arguments: [discovery]
variation_cache.access_policy:
class: Drupal\Core\Cache\VariationCacheInterface
factory: ['@variation_cache_factory', 'get']
arguments: [access_policy]
variation_cache.access_policy_memory:
class: Drupal\Core\Cache\VariationCacheInterface
factory: ['@variation_cache_factory', 'get']
arguments: [access_policy_memory]
Drupal\Core\Asset\AssetQueryStringInterface: '@asset.query_string'
asset.query_string:
class: Drupal\Core\Asset\AssetQueryString
arguments:
- '@state'
- '@datetime.time'
cache_router_rebuild_subscriber:
class: Drupal\Core\EventSubscriber\CacheRouterRebuildSubscriber
page_cache_request_policy:
class: Drupal\Core\PageCache\DefaultRequestPolicy
arguments: ['@session_configuration']
tags:
- { name: service_collector, tag: page_cache_request_policy, call: addPolicy}
Drupal\Core\PageCache\RequestPolicyInterface: '@page_cache_request_policy'
page_cache_response_policy:
class: Drupal\Core\PageCache\ChainResponsePolicy
tags:
- { name: service_collector, tag: page_cache_response_policy, call: addPolicy}
lazy: true
Drupal\Core\PageCache\ResponsePolicyInterface: '@page_cache_response_policy'
page_cache_kill_switch:
class: Drupal\Core\PageCache\ResponsePolicy\KillSwitch
tags:
- { name: page_cache_response_policy }
- { name: dynamic_page_cache_response_policy }
Drupal\Core\PageCache\ResponsePolicy\KillSwitch: '@page_cache_kill_switch'
page_cache_no_cache_routes:
class: Drupal\Core\PageCache\ResponsePolicy\DenyNoCacheRoutes
arguments: ['@current_route_match']
public: false
tags:
- { name: page_cache_response_policy }
- { name: dynamic_page_cache_response_policy }
page_cache_no_server_error:
class: Drupal\Core\PageCache\ResponsePolicy\NoServerError
public: false
tags:
- { name: page_cache_response_policy }
- { name: dynamic_page_cache_response_policy }
config.manager:
class: Drupal\Core\Config\ConfigManager
arguments: ['@entity_type.manager', '@config.factory', '@config.typed', '@string_translation', '@config.storage', '@event_dispatcher', '@entity.repository', '@extension.path.resolver']
Drupal\Core\Config\ConfigManagerInterface: '@config.manager'
config.factory:
class: Drupal\Core\Config\ConfigFactory
tags:
- { name: service_collector, tag: 'config.factory.override', call: addOverride }
arguments: ['@config.storage', '@event_dispatcher', '@config.typed']
Drupal\Core\Config\ConfigFactoryInterface: '@config.factory'
config.importer_subscriber:
class: Drupal\Core\Config\Importer\FinalMissingContentSubscriber
config.installer:
class: Drupal\Core\Config\ConfigInstaller
arguments: ['@config.factory', '@config.storage', '@config.typed', '@config.manager', '@event_dispatcher', '%install_profile%', '@extension.path.resolver']
lazy: true
Drupal\Core\Config\ConfigInstallerInterface: '@config.installer'
config.storage:
class: Drupal\Core\Config\CachedStorage
arguments: ['@config.storage.active', '@cache.config']
Drupal\Core\Config\StorageCacheInterface: '@config.storage'
config.storage.active:
class: Drupal\Core\Config\DatabaseStorage
arguments: ['@database', 'config']
public: false
tags:
- { name: backend_overridable }
config.storage.checkpoint:
class: Drupal\Core\Config\Checkpoint\CheckpointStorage
arguments: [ '@config.storage', '@config.checkpoints', '@keyvalue' ]
Drupal\Core\Config\Checkpoint\CheckpointStorageInterface: '@config.storage.checkpoint'
config.checkpoints:
class: Drupal\Core\Config\Checkpoint\LinearHistory
arguments: [ '@state', '@datetime.time' ]
Drupal\Core\Config\Checkpoint\CheckpointListInterface: '@config.checkpoints'
config.import_transformer:
class: Drupal\Core\Config\ImportStorageTransformer
arguments: ['@event_dispatcher', '@database', '@lock', '@lock.persistent']
Drupal\Core\Config\ImportStorageTransformer: '@config.import_transformer'
config.storage.export:
class: Drupal\Core\Config\ManagedStorage
arguments: ['@config.storage.export.manager']
config.storage.export.manager:
class: Drupal\Core\Config\ExportStorageManager
arguments: ['@config.storage', '@database', '@event_dispatcher', '@lock']
public: false
Drupal\Core\Config\StorageManagerInterface: '@config.storage.export.manager'
config.storage.sync:
class: Drupal\Core\Config\FileStorage
factory: Drupal\Core\Config\FileStorageFactory::getSync
config.storage.snapshot:
class: Drupal\Core\Config\DatabaseStorage
arguments: ['@database', config_snapshot]
tags:
- { name: backend_overridable }
config.storage.schema:
class: Drupal\Core\Config\ExtensionInstallStorage
arguments: ['@config.storage', 'config/schema', '', true, '%install_profile%']
config.typed:
class: Drupal\Core\Config\TypedConfigManager
arguments: ['@config.storage', '@config.storage.schema', '@cache.discovery', '@module_handler', '@class_resolver']
tags:
- { name: plugin_manager_cache_clear }
calls:
- [setValidationConstraintManager, ['@validation.constraint']]
Drupal\Core\Config\TypedConfigManagerInterface: '@config.typed'
context.handler:
class: Drupal\Core\Plugin\Context\ContextHandler
Drupal\Core\Plugin\Context\ContextHandlerInterface: '@context.handler'
context.repository:
class: Drupal\Core\Plugin\Context\LazyContextRepository
arguments: ['@service_container']
tags:
- { name: service_id_collector, tag: context_provider }
Drupal\Core\Plugin\Context\ContextRepositoryInterface: '@context.repository'
Drupal\Component\DependencyInjection\ReverseContainer:
arguments: [ '@service_container' ]
cron:
class: Drupal\Core\Cron
arguments: ['@module_handler', '@lock', '@queue', '@state', '@account_switcher', '@logger.channel.cron', '@plugin.manager.queue_worker', '@datetime.time', '%queue.config%']
lazy: true
Drupal\Core\CronInterface: '@cron'
diff.formatter:
class: Drupal\Core\Diff\DiffFormatter
arguments: ['@config.factory']
Drupal\Core\Diff\DiffFormatter: '@diff.formatter'
database:
class: Drupal\Core\Database\Connection
factory: Drupal\Core\Database\Database::getConnection
arguments: [default]
Drupal\Core\Database\Connection: '@database'
database.replica:
class: Drupal\Core\Database\Connection
factory: Drupal\Core\Database\Database::getConnection
arguments: [replica]
database.replica_kill_switch:
class: Drupal\Core\Database\ReplicaKillSwitch
arguments: ['@settings', '@datetime.time', '@session']
Drupal\Core\Database\ReplicaKillSwitch: '@database.replica_kill_switch'
Drupal\Core\Database\EventSubscriber\StatementExecutionSubscriber: ~
datetime.time:
class: Drupal\Component\Datetime\Time
arguments: ['@request_stack']
Drupal\Component\Datetime\TimeInterface: '@datetime.time'
file_system:
class: Drupal\Core\File\FileSystem
arguments: ['@stream_wrapper_manager', '@settings']
Drupal\Core\File\FileSystemInterface: '@file_system'
file_url_generator:
class: Drupal\Core\File\FileUrlGenerator
arguments: ['@stream_wrapper_manager', '@request_stack', '@module_handler']
Drupal\Core\File\FileUrlGeneratorInterface: '@file_url_generator'
form_builder:
class: Drupal\Core\Form\FormBuilder
arguments: ['@form_validator', '@form_submitter', '@form_cache', '@module_handler', '@event_dispatcher', '@request_stack', '@class_resolver', '@element_info', '@theme.manager', '@?csrf_token']
Drupal\Core\Form\FormBuilderInterface: '@form_builder'
form_validator:
class: Drupal\Core\Form\FormValidator
arguments: ['@request_stack', '@string_translation', '@csrf_token', '@logger.channel.form', '@form_error_handler']
Drupal\Core\Form\FormValidatorInterface: '@form_validator'
form_submitter:
class: Drupal\Core\Form\FormSubmitter
arguments: ['@request_stack', '@url_generator', '@redirect_response_subscriber']
Drupal\Core\Form\FormSubmitterInterface: '@form_submitter'
form_error_handler:
class: Drupal\Core\Form\FormErrorHandler
Drupal\Core\Form\FormErrorHandlerInterface: '@form_error_handler'
form_cache:
class: Drupal\Core\Form\FormCache
arguments: ['%app.root%', '@keyvalue.expirable', '@module_handler', '@current_user', '@csrf_token', '@logger.channel.form', '@request_stack', '@page_cache_request_policy']
public: false # Private to form_builder
Drupal\Core\Form\FormCacheInterface: '@form_cache'
keyvalue:
class: Drupal\Core\KeyValueStore\KeyValueFactory
arguments: ['@service_container', '%factory.keyvalue%']
keyvalue.database:
class: Drupal\Core\KeyValueStore\KeyValueDatabaseFactory
arguments: ['@serialization.phpserialize', '@database']
keyvalue.expirable:
class: Drupal\Core\KeyValueStore\KeyValueExpirableFactory
arguments: ['@service_container', '%factory.keyvalue.expirable%']
keyvalue.expirable.database:
class: Drupal\Core\KeyValueStore\KeyValueDatabaseExpirableFactory
arguments: ['@serialization.phpserialize', '@database', '@datetime.time']
logger.factory:
class: Drupal\Core\Logger\LoggerChannelFactory
arguments: ['@request_stack', '@current_user']
tags:
- { name: service_collector, tag: logger, call: addLogger }
Drupal\Core\Logger\LoggerChannelFactoryInterface: '@logger.factory'
logger.channel_base:
abstract: true
class: Drupal\Core\Logger\LoggerChannel
factory: ['@logger.factory', 'get']
logger.channel.default:
parent: logger.channel_base
arguments: ['system']
logger.channel.php:
parent: logger.channel_base
arguments: ['php']
logger.channel.image:
parent: logger.channel_base
arguments: ['image']
logger.channel.cron:
parent: logger.channel_base
arguments: ['cron']
logger.channel.file:
class: Drupal\Core\Logger\LoggerChannel
factory: ['@logger.factory', 'get']
arguments: ['file']
logger.channel.form:
parent: logger.channel_base
arguments: ['form']
logger.channel.security:
parent: logger.channel_base
arguments: ['security']
logger.channel.mail:
parent: logger.channel_base
arguments: ['mail']
logger.channel.menu:
parent: logger.channel_base
arguments: ['menu']
logger.channel.router:
parent: logger.channel_base
arguments: ['router']
logger.log_message_parser:
class: Drupal\Core\Logger\LogMessageParser
Drupal\Core\Logger\LogMessageParserInterface: '@logger.log_message_parser'
serialization.json:
class: Drupal\Component\Serialization\Json
serialization.phpserialize:
class: Drupal\Component\Serialization\PhpSerialize
Drupal\Component\Serialization\ObjectAwareSerializationInterface: '@serialization.phpserialize'
serialization.yaml:
class: Drupal\Component\Serialization\Yaml
settings:
class: Drupal\Core\Site\Settings
factory: Drupal\Core\Site\Settings::getInstance
Drupal\Core\Site\Settings: '@settings'
state:
class: Drupal\Core\State\State
arguments: ['@keyvalue', '@cache.bootstrap', '@lock']
tags:
- { name: needs_destruction }
Drupal\Core\State\StateInterface: '@state'
queue:
class: Drupal\Core\Queue\QueueFactory
autowire: true
Drupal\Core\Queue\QueueFactory: '@queue'
queue.database:
class: Drupal\Core\Queue\QueueDatabaseFactory
arguments: ['@database']
Drupal\Core\Queue\QueueDatabaseFactory: '@queue.database'
path.current:
class: Drupal\Core\Path\CurrentPathStack
arguments: ['@request_stack']
Drupal\Core\Path\CurrentPathStack: '@path.current'
http_handler_stack:
class: GuzzleHttp\HandlerStack
public: false
factory: GuzzleHttp\HandlerStack::create
configurator: ['@http_handler_stack_configurator', configure]
GuzzleHttp\HandlerStack: '@http_handler_stack'
http_handler_stack_configurator:
class: Drupal\Core\Http\HandlerStackConfigurator
public: false
arguments: ['@service_container']
tags:
- { name: service_id_collector, tag: http_client_middleware }
Drupal\Core\Http\HandlerStackConfigurator: '@http_handler_stack_configurator'
http_client:
class: GuzzleHttp\Client
factory: ['@http_client_factory', 'fromOptions']
GuzzleHttp\ClientInterface: '@http_client'
Psr\Http\Client\ClientInterface: '@http_client'
http_client_factory:
class: Drupal\Core\Http\ClientFactory
arguments: ['@http_handler_stack']
Drupal\Core\Http\ClientFactory: '@http_client_factory'
plugin.manager.link_relation_type:
class: \Drupal\Core\Http\LinkRelationTypeManager
arguments: ['%app.root%', '@module_handler', '@cache.discovery']
theme.negotiator:
class: Drupal\Core\Theme\ThemeNegotiator
arguments: ['@access_check.theme', '@class_resolver']
tags:
- { name: service_id_collector, tag: theme_negotiator }
Drupal\Core\Theme\ThemeNegotiatorInterface: '@theme.negotiator'
theme.negotiator.default:
class: Drupal\Core\Theme\DefaultNegotiator
arguments: ['@config.factory']
tags:
- { name: theme_negotiator, priority: -100 }
theme.negotiator.ajax_base_page:
class: Drupal\Core\Theme\AjaxBasePageNegotiator
arguments: ['@csrf_token', '@config.factory', '@request_stack']
tags:
- { name: theme_negotiator, priority: 1000 }
container.namespaces:
class: ArrayObject
arguments: [ '%container.namespaces%' ]
container.trait:
abstract: true
calls:
- [setContainer, ['@service_container']]
default_plugin_manager:
abstract: true
arguments: ['@container.namespaces', '@cache.discovery', '@module_handler']
module_handler:
class: Drupal\Core\Extension\ModuleHandler
arguments: ['%app.root%', '%container.modules%', '@event_dispatcher', '%hook_implementations_map%']
Drupal\Core\Extension\ModuleHandlerInterface: '@module_handler'
module_installer:
class: Drupal\Core\Extension\ModuleInstaller
autowire: true
lazy: true
Drupal\Core\Extension\ModuleInstallerInterface: '@module_installer'
module_installer.uninstall_validators:
class: \IteratorIterator
arguments: [!tagged_iterator module_install.uninstall_validator]
deprecated: The "%service_id%" service is deprecated in drupal:11.1.0 and is removed from drupal:12.0.0. Inject "!tagged_iterator module_install.uninstall_validator" instead. See https://www.drupal.org/node/3432595
extension.list.module:
class: Drupal\Core\Extension\ModuleExtensionList
arguments: ['%app.root%', 'module', '@cache.default', '@info_parser', '@module_handler', '@state', '@config.factory', '@extension.list.profile', '%install_profile%', '%container.modules%']
Drupal\Core\Extension\ModuleExtensionList: '@extension.list.module'
extension.list.profile:
class: Drupal\Core\Extension\ProfileExtensionList
arguments: ['%app.root%', 'profile', '@cache.default', '@info_parser', '@module_handler', '@state', '%install_profile%']
Drupal\Core\Extension\ProfileExtensionList: '@extension.list.profile'
extension.list.theme:
class: Drupal\Core\Extension\ThemeExtensionList
arguments: ['%app.root%', 'theme', '@cache.default', '@info_parser', '@module_handler', '@state', '@config.factory', '@extension.list.theme_engine', '%install_profile%']
Drupal\Core\Extension\ThemeExtensionList: '@extension.list.theme'
extension.list.theme_engine:
class: Drupal\Core\Extension\ThemeEngineExtensionList
arguments: ['%app.root%', 'theme_engine', '@cache.default', '@info_parser', '@module_handler', '@state', '%install_profile%']
Drupal\Core\Extension\ThemeEngineExtensionList: '@extension.list.theme_engine'
extension.list.database_driver:
class: Drupal\Core\Extension\DatabaseDriverList
arguments: ['%app.root%', 'database_driver', '@cache.default']
Drupal\Core\Extension\DatabaseDriverList: '@extension.list.database_driver'
extension.path.resolver:
class: Drupal\Core\Extension\ExtensionPathResolver
arguments: ['@extension.list.module', '@extension.list.profile', '@extension.list.theme', '@extension.list.theme_engine']
Drupal\Core\Extension\ExtensionPathResolver: '@extension.path.resolver'
content_uninstall_validator:
class: Drupal\Core\Entity\ContentUninstallValidator
arguments: ['@entity_type.manager', '@string_translation']
required_module_uninstall_validator:
class: Drupal\Core\Extension\RequiredModuleUninstallValidator
arguments: ['@string_translation', '@extension.list.module']
module_required_by_themes_uninstall_validator:
class: Drupal\Core\Extension\ModuleRequiredByThemesUninstallValidator
arguments: ['@string_translation', '@extension.list.module', '@extension.list.theme']
database_driver_uninstall_validator:
class: Drupal\Core\Extension\DatabaseDriverUninstallValidator
arguments: ['@string_translation', '@extension.list.module', '@database']
install_profile_uninstall_validator:
class: Drupal\Core\Extension\InstallProfileUninstallValidator
arguments: ['@string_translation', '@extension.list.module', '@extension.list.theme', '%install_profile%', '%app.root%', '%site.path%']
theme_handler:
class: Drupal\Core\Extension\ThemeHandler
arguments: ['%app.root%', '@config.factory', '@extension.list.theme']
Drupal\Core\Extension\ThemeHandlerInterface: '@theme_handler'
theme_installer:
class: Drupal\Core\Extension\ThemeInstaller
arguments: ['@theme_handler', '@config.factory', '@config.installer', '@module_handler', '@config.manager', '@asset.css.collection_optimizer', '@router.builder', '@logger.channel.default', '@state', '@extension.list.module', '@theme.registry', '@extension.list.theme']
Drupal\Core\Extension\ThemeInstallerInterface: '@theme_installer'
entity.memory_cache:
class: Drupal\Core\Cache\MemoryCache\MemoryCache
arguments: ['@datetime.time']
Drupal\Core\Cache\MemoryCache\MemoryCacheInterface: '@entity.memory_cache'
entity_type.manager:
class: Drupal\Core\Entity\EntityTypeManager
arguments: ['@container.namespaces', '@module_handler', '@cache.discovery', '@string_translation', '@class_resolver', '@entity.last_installed_schema.repository', '@service_container']
tags:
- { name: plugin_manager_cache_clear }
Drupal\Core\Entity\EntityTypeManagerInterface: '@entity_type.manager'
entity_type.repository:
class: Drupal\Core\Entity\EntityTypeRepository
arguments: ['@entity_type.manager', '@entity_type.bundle.info']
Drupal\Core\Entity\EntityTypeRepositoryInterface: '@entity_type.repository'
entity_type.bundle.info:
class: Drupal\Core\Entity\EntityTypeBundleInfo
arguments: ['@entity_type.manager', '@language_manager', '@module_handler', '@typed_data_manager', '@cache.discovery']
Drupal\Core\Entity\EntityTypeBundleInfoInterface: '@entity_type.bundle.info'
entity.repository:
class: Drupal\Core\Entity\EntityRepository
arguments: ['@entity_type.manager', '@language_manager', '@context.repository']
Drupal\Core\Entity\EntityRepositoryInterface: '@entity.repository'
entity_display.repository:
class: Drupal\Core\Entity\EntityDisplayRepository
arguments: ['@entity_type.manager', '@module_handler', '@cache.discovery', '@language_manager']
Drupal\Core\Entity\EntityDisplayRepositoryInterface: '@entity_display.repository'
entity_field.manager:
class: Drupal\Core\Entity\EntityFieldManager
arguments: ['@entity_type.manager', '@entity_type.bundle.info', '@entity_display.repository', '@typed_data_manager', '@language_manager', '@keyvalue', '@module_handler', '@cache.discovery', '@entity.last_installed_schema.repository']
Drupal\Core\Entity\EntityFieldManagerInterface: '@entity_field.manager'
entity_type.listener:
class: Drupal\Core\Entity\EntityTypeListener
arguments: ['@entity_type.manager', '@entity_field.manager', '@event_dispatcher', '@entity.last_installed_schema.repository']
Drupal\Core\Entity\EntityTypeListenerInterface: '@entity_type.listener'
entity_bundle.listener:
class: Drupal\Core\Entity\EntityBundleListener
arguments: ['@entity_type.manager', '@entity_type.bundle.info', '@entity_field.manager', '@module_handler']
Drupal\Core\Entity\EntityBundleListenerInterface: '@entity_bundle.listener'
entity_route_subscriber:
class: Drupal\Core\EventSubscriber\EntityRouteProviderSubscriber
arguments: ['@entity_type.manager']
entity.definition_update_manager:
class: Drupal\Core\Entity\EntityDefinitionUpdateManager
arguments: ['@entity_type.manager', '@entity.last_installed_schema.repository', '@entity_field.manager', '@entity_type.listener', '@field_storage_definition.listener']
Drupal\Core\Entity\EntityDefinitionUpdateManagerInterface: '@entity.definition_update_manager'
entity.last_installed_schema.repository:
class: Drupal\Core\Entity\EntityLastInstalledSchemaRepository
arguments: ['@keyvalue', '@cache.discovery']
Drupal\Core\Entity\EntityLastInstalledSchemaRepositoryInterface: '@entity.last_installed_schema.repository'
entity_field.deleted_fields_repository:
class: Drupal\Core\Field\DeletedFieldsRepository
arguments: ['@state']
Drupal\Core\Field\DeletedFieldsRepositoryInterface: '@entity_field.deleted_fields_repository'
field_storage_definition.listener:
class: Drupal\Core\Field\FieldStorageDefinitionListener
arguments: ['@entity_type.manager', '@event_dispatcher', '@entity.last_installed_schema.repository', '@entity_field.manager', '@entity_field.deleted_fields_repository']
Drupal\Core\Field\FieldStorageDefinitionListenerInterface: '@field_storage_definition.listener'
field_definition.listener:
class: Drupal\Core\Field\FieldDefinitionListener
arguments: ['@entity_type.manager', '@entity_field.manager', '@keyvalue', '@cache.discovery']
Drupal\Core\Field\FieldDefinitionListenerInterface: '@field_definition.listener'
entity.form_builder:
class: Drupal\Core\Entity\EntityFormBuilder
arguments: ['@entity_type.manager', '@form_builder']
Drupal\Core\Entity\EntityFormBuilderInterface: '@entity.form_builder'
entity.bundle_config_import_validator:
class: Drupal\Core\Entity\Event\BundleConfigImportValidate
arguments: ['@config.manager', '@entity_type.manager']
entity.autocomplete_matcher:
class: Drupal\Core\Entity\EntityAutocompleteMatcher
arguments: ['@plugin.manager.entity_reference_selection']
Drupal\Core\Entity\EntityAutocompleteMatcherInterface: '@entity.autocomplete_matcher'
plugin_form.factory:
class: Drupal\Core\Plugin\PluginFormFactory
arguments: ['@class_resolver']
Drupal\Core\Plugin\PluginFormFactoryInterface: '@plugin_form.factory'
plugin.manager.entity_reference_selection:
class: Drupal\Core\Entity\EntityReferenceSelection\SelectionPluginManager
parent: default_plugin_manager
Drupal\Core\Entity\EntityReferenceSelection\SelectionPluginManagerInterface: '@plugin.manager.entity_reference_selection'
plugin.manager.block:
class: Drupal\Core\Block\BlockManager
parent: default_plugin_manager
arguments: ['@logger.channel.default']
Drupal\Core\Block\BlockManagerInterface: '@plugin.manager.block'
plugin.manager.field.field_type:
class: Drupal\Core\Field\FieldTypePluginManager
arguments: ['@container.namespaces', '@cache.discovery', '@module_handler', '@typed_data_manager', '@plugin.manager.field.field_type_category']
Drupal\Core\Field\FieldTypePluginManagerInterface: '@plugin.manager.field.field_type'
plugin.manager.field.field_type_category:
class: \Drupal\Core\Field\FieldTypeCategoryManager
arguments: [ '%app.root%', '@module_handler', '@cache.discovery' ]
Drupal\Core\Field\FieldTypeCategoryManagerInterface: '@plugin.manager.field.field_type_category'
plugin.manager.field.widget:
class: Drupal\Core\Field\WidgetPluginManager
arguments: ['@container.namespaces', '@cache.discovery', '@module_handler', '@plugin.manager.field.field_type']
plugin.manager.field.formatter:
class: Drupal\Core\Field\FormatterPluginManager
arguments: ['@container.namespaces', '@cache.discovery', '@module_handler', '@plugin.manager.field.field_type']
plugin.manager.archiver:
class: Drupal\Core\Archiver\ArchiverManager
parent: default_plugin_manager
arguments: ['@file_system']
plugin.manager.action:
class: Drupal\Core\Action\ActionManager
arguments: ['@container.namespaces', '@cache.discovery', '@module_handler']
plugin.manager.menu.link:
class: Drupal\Core\Menu\MenuLinkManager
arguments: ['@menu.tree_storage', '@menu_link.static.overrides', '@module_handler']
Drupal\Core\Menu\MenuLinkManagerInterface: '@plugin.manager.menu.link'
menu.link_tree:
class: Drupal\Core\Menu\MenuLinkTree
arguments: ['@menu.tree_storage', '@plugin.manager.menu.link', '@router.route_provider', '@menu.active_trail', '@callable_resolver']
Drupal\Core\Menu\MenuLinkTreeInterface: '@menu.link_tree'
menu.default_tree_manipulators:
class: Drupal\Core\Menu\DefaultMenuLinkTreeManipulators
arguments: ['@access_manager', '@current_user', '@entity_type.manager', '@module_handler']
Drupal\Core\Menu\DefaultMenuLinkTreeManipulators: '@menu.default_tree_manipulators'
menu.active_trail:
class: Drupal\Core\Menu\MenuActiveTrail
arguments: ['@plugin.manager.menu.link', '@current_route_match', '@cache.menu', '@lock']
tags:
- { name: needs_destruction }
lazy: true
Drupal\Core\Menu\MenuActiveTrailInterface: '@menu.active_trail'
menu.parent_form_selector:
class: Drupal\Core\Menu\MenuParentFormSelector
arguments: ['@menu.link_tree', '@entity_type.manager', '@string_translation']
Drupal\Core\Menu\MenuParentFormSelectorInterface: '@menu.parent_form_selector'
plugin.manager.menu.local_action:
class: Drupal\Core\Menu\LocalActionManager
arguments: ['@http_kernel.controller.argument_resolver', '@request_stack', '@current_route_match', '@router.route_provider', '@module_handler', '@cache.discovery', '@language_manager', '@access_manager', '@current_user']
Drupal\Core\Menu\LocalActionManagerInterface: '@plugin.manager.menu.local_action'
plugin.manager.menu.local_task:
class: Drupal\Core\Menu\LocalTaskManager
arguments: ['@http_kernel.controller.argument_resolver', '@request_stack', '@current_route_match', '@router.route_provider', '@module_handler', '@cache.discovery', '@language_manager', '@access_manager', '@current_user']
Drupal\Core\Menu\LocalTaskManagerInterface: '@plugin.manager.menu.local_task'
plugin.manager.menu.contextual_link:
class: Drupal\Core\Menu\ContextualLinkManager
arguments: ['@controller_resolver', '@module_handler', '@cache.discovery', '@language_manager', '@access_manager', '@current_user', '@request_stack']
Drupal\Core\Menu\ContextualLinkManagerInterface: '@plugin.manager.menu.contextual_link'
plugin.manager.display_variant:
class: Drupal\Core\Display\VariantManager
parent: default_plugin_manager
plugin.manager.queue_worker:
class: Drupal\Core\Queue\QueueWorkerManager
parent: default_plugin_manager
Drupal\Core\Queue\QueueWorkerManagerInterface: '@plugin.manager.queue_worker'
plugin.cache_clearer:
class: Drupal\Core\Plugin\CachedDiscoveryClearer
autowire: true
Drupal\Core\Plugin\CachedDiscoveryClearerInterface: '@plugin.cache_clearer'
paramconverter.menu_link:
class: Drupal\Core\ParamConverter\MenuLinkPluginConverter
tags:
- { name: paramconverter }
arguments: ['@plugin.manager.menu.link']
lazy: true
menu.tree_storage:
class: Drupal\Core\Menu\MenuTreeStorage
arguments: ['@database', '@cache.menu', '@cache_tags.invalidator', 'menu_tree']
public: false # Private to plugin.manager.menu.link and menu.link_tree
tags:
- { name: backend_overridable }
Drupal\Core\Menu\MenuTreeStorageInterface: '@menu.tree_storage'
menu_link.static.overrides:
class: Drupal\Core\Menu\StaticMenuLinkOverrides
arguments: ['@config.factory']
Drupal\Core\Menu\StaticMenuLinkOverridesInterface: '@menu_link.static.overrides'
request_stack:
class: Symfony\Component\HttpFoundation\RequestStack
tags:
- { name: persist }
Symfony\Component\HttpFoundation\RequestStack: '@request_stack'
current_route_match:
class: Drupal\Core\Routing\CurrentRouteMatch
arguments: ['@request_stack']
Drupal\Core\Routing\RouteMatchInterface: '@current_route_match'
event_dispatcher:
class: Symfony\Component\EventDispatcher\EventDispatcher
Psr\EventDispatcher\EventDispatcherInterface: '@event_dispatcher'
Symfony\Contracts\EventDispatcher\EventDispatcherInterface: '@event_dispatcher'
controller_resolver:
class: Drupal\Core\Controller\ControllerResolver
arguments: ['@callable_resolver']
Drupal\Core\Controller\ControllerResolverInterface: '@controller_resolver'
Symfony\Component\HttpKernel\Controller\ControllerResolverInterface: '@controller_resolver'
class_resolver:
class: Drupal\Core\DependencyInjection\ClassResolver
arguments: ['@service_container']
Drupal\Core\DependencyInjection\ClassResolverInterface: '@class_resolver'
callable_resolver:
class: Drupal\Core\Utility\CallableResolver
arguments: ['@class_resolver']
Drupal\Core\Utility\CallableResolver: '@callable_resolver'
title_resolver:
class: Drupal\Core\Controller\TitleResolver
arguments: ['@controller_resolver', '@string_translation', '@http_kernel.controller.argument_resolver']
Drupal\Core\Controller\TitleResolverInterface: '@title_resolver'
http_kernel:
class: Drupal\Core\StackMiddleware\StackedHttpKernel
Symfony\Component\HttpKernel\HttpKernelInterface: '@http_kernel'
http_kernel.basic:
class: Symfony\Component\HttpKernel\HttpKernel
arguments: ['@event_dispatcher', '@controller_resolver', '@request_stack', '@http_kernel.controller.argument_resolver', true]
http_kernel.controller.argument_resolver:
class: Symfony\Component\HttpKernel\Controller\ArgumentResolver
arguments: ['@http_kernel.controller.argument_metadata_factory', ['@argument_resolver.request_attribute', '@argument_resolver.request', '@argument_resolver.psr7_request', '@argument_resolver.route_match', '@argument_resolver.default']]
Symfony\Component\HttpKernel\Controller\ArgumentResolverInterface: '@http_kernel.controller.argument_resolver'
http_kernel.controller.argument_metadata_factory:
class: Symfony\Component\HttpKernel\ControllerMetadata\ArgumentMetadataFactory
public: false
Symfony\Component\HttpKernel\ControllerMetadata\ArgumentMetadataFactoryInterface: '@http_kernel.controller.argument_metadata_factory'
argument_resolver.request_attribute:
class: Symfony\Component\HttpKernel\Controller\ArgumentResolver\RequestAttributeValueResolver
public: false
argument_resolver.request:
class: Symfony\Component\HttpKernel\Controller\ArgumentResolver\RequestValueResolver
public: false
argument_resolver.psr7_request:
class: Drupal\Core\Controller\ArgumentResolver\Psr7RequestValueResolver
arguments: ['@psr7.http_message_factory']
public: false
argument_resolver.route_match:
class: Drupal\Core\Controller\ArgumentResolver\RouteMatchValueResolver
public: false
argument_resolver.default:
class: Symfony\Component\HttpKernel\Controller\ArgumentResolver\DefaultValueResolver
public: false
http_middleware.content_length:
class: Drupal\Core\StackMiddleware\ContentLength
tags:
# Must run before the page_cache and big_pipe middleware.
- { name: http_middleware, priority: 140 }
http_middleware.ajax_page_state:
class: Drupal\Core\StackMiddleware\AjaxPageState
tags:
- { name: http_middleware, priority: 500 }
http_middleware.negotiation:
class: Drupal\Core\StackMiddleware\NegotiationMiddleware
tags:
- { name: http_middleware, priority: 400 }
http_middleware.reverse_proxy:
class: Drupal\Core\StackMiddleware\ReverseProxyMiddleware
arguments: ['@settings']
tags:
- { name: http_middleware, priority: 300 }
http_middleware.kernel_pre_handle:
class: Drupal\Core\StackMiddleware\KernelPreHandle
arguments: ['@kernel']
tags:
- { name: http_middleware, priority: 100 }
http_middleware.session:
class: Drupal\Core\StackMiddleware\Session
autowire: true
tags:
- { name: http_middleware, priority: 50 }
http_middleware.cors:
class: Asm89\Stack\Cors
arguments: ['%cors.config%']
tags:
- { name: http_middleware, priority: 250 }
psr7.http_foundation_factory:
class: Symfony\Bridge\PsrHttpMessage\Factory\HttpFoundationFactory
Symfony\Bridge\PsrHttpMessage\HttpFoundationFactoryInterface: '@psr7.http_foundation_factory'
psr17.server_request_factory:
class: GuzzleHttp\Psr7\HttpFactory
public: false
Psr\Http\Message\ServerRequestFactoryInterface: '@psr17.server_request_factory'
psr17.stream_factory:
class: GuzzleHttp\Psr7\HttpFactory
public: false
Psr\Http\Message\StreamFactoryInterface: '@psr17.stream_factory'
psr17.uploaded_file_factory:
class: GuzzleHttp\Psr7\HttpFactory
public: false
Psr\Http\Message\UploadedFileFactoryInterface: '@psr17.uploaded_file_factory'
psr17.response_factory:
class: GuzzleHttp\Psr7\HttpFactory
public: false
Psr\Http\Message\ResponseFactoryInterface: '@psr17.response_factory'
psr7.http_message_factory:
class: Symfony\Bridge\PsrHttpMessage\Factory\PsrHttpFactory
arguments: ['@psr17.server_request_factory', '@psr17.stream_factory', '@psr17.uploaded_file_factory', '@psr17.response_factory']
Symfony\Bridge\PsrHttpMessage\HttpMessageFactoryInterface: '@psr7.http_message_factory'
language_manager:
class: Drupal\Core\Language\LanguageManager
arguments: ['@language.default']
Drupal\Core\Language\LanguageManagerInterface: '@language_manager'
language.current_language_context:
class: Drupal\Core\Language\ContextProvider\CurrentLanguageContext
arguments: ['@language_manager']
tags:
- { name: 'context_provider' }
language.default:
class: Drupal\Core\Language\LanguageDefault
arguments: ['%language.default_values%']
Drupal\Core\Language\LanguageDefault: '@language.default'
string_translator.custom_strings:
class: Drupal\Core\StringTranslation\Translator\CustomStrings