Drupal investigation

core.services.yml 64KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660
  1. parameters:
  2. session.storage.options:
  3. gc_probability: 1
  4. gc_divisor: 100
  5. gc_maxlifetime: 200000
  6. cookie_lifetime: 2000000
  7. twig.config:
  8. debug: false
  9. auto_reload: null
  10. cache: true
  11. renderer.config:
  12. required_cache_contexts: ['languages:language_interface', 'theme', 'user.permissions']
  13. auto_placeholder_conditions:
  14. max-age: 0
  15. contexts: ['session', 'user']
  16. tags: []
  17. factory.keyvalue:
  18. default: keyvalue.database
  19. http.response.debug_cacheability_headers: false
  20. factory.keyvalue.expirable:
  21. default: keyvalue.expirable.database
  22. filter_protocols:
  23. - http
  24. - https
  25. - ftp
  26. - news
  27. - nntp
  28. - tel
  29. - telnet
  30. - mailto
  31. - irc
  32. - ssh
  33. - sftp
  34. - webcal
  35. - rtsp
  36. cors.config:
  37. enabled: false
  38. allowedHeaders: []
  39. allowedMethods: []
  40. allowedOrigins: ['*']
  41. exposedHeaders: false
  42. maxAge: false
  43. supportsCredentials: false
  44. services:
  45. # Simple cache contexts, directly derived from the request context.
  46. cache_context.ip:
  47. class: Drupal\Core\Cache\Context\IpCacheContext
  48. arguments: ['@request_stack']
  49. tags:
  50. - { name: cache.context }
  51. cache_context.headers:
  52. class: Drupal\Core\Cache\Context\HeadersCacheContext
  53. arguments: ['@request_stack']
  54. tags:
  55. - { name: cache.context }
  56. cache_context.cookies:
  57. class: Drupal\Core\Cache\Context\CookiesCacheContext
  58. arguments: ['@request_stack']
  59. tags:
  60. - { name: cache.context }
  61. cache_context.session:
  62. class: Drupal\Core\Cache\Context\SessionCacheContext
  63. arguments: ['@request_stack']
  64. tags:
  65. - { name: cache.context}
  66. cache_context.session.exists:
  67. class: Drupal\Core\Cache\Context\SessionExistsCacheContext
  68. arguments: ['@session_configuration', '@request_stack']
  69. tags:
  70. - { name: cache.context}
  71. cache_context.request_format:
  72. class: Drupal\Core\Cache\Context\RequestFormatCacheContext
  73. arguments: ['@request_stack']
  74. tags:
  75. - { name: cache.context }
  76. cache_context.url:
  77. class: Drupal\Core\Cache\Context\UrlCacheContext
  78. arguments: ['@request_stack']
  79. tags:
  80. - { name: cache.context }
  81. cache_context.url.site:
  82. class: Drupal\Core\Cache\Context\SiteCacheContext
  83. arguments: ['@request_stack']
  84. tags:
  85. - { name: cache.context }
  86. cache_context.url.path:
  87. class: Drupal\Core\Cache\Context\PathCacheContext
  88. arguments: ['@request_stack']
  89. tags:
  90. - { name: cache.context }
  91. cache_context.url.path.parent:
  92. class: Drupal\Core\Cache\Context\PathParentCacheContext
  93. arguments: ['@request_stack']
  94. tags:
  95. - { name: cache.context }
  96. cache_context.url.path.is_front:
  97. class: Drupal\Core\Cache\Context\IsFrontPathCacheContext
  98. arguments: ['@path.matcher']
  99. tags:
  100. - { name: cache.context }
  101. cache_context.url.query_args:
  102. class: Drupal\Core\Cache\Context\QueryArgsCacheContext
  103. arguments: ['@request_stack']
  104. tags:
  105. - { name: cache.context }
  106. cache_context.url.query_args.pagers:
  107. class: Drupal\Core\Cache\Context\PagersCacheContext
  108. arguments: ['@request_stack']
  109. tags:
  110. - { name: cache.context }
  111. # Complex cache contexts, that depend on the routing system.
  112. cache_context.route:
  113. class: Drupal\Core\Cache\Context\RouteCacheContext
  114. arguments: ['@current_route_match']
  115. tags:
  116. - { name: cache.context }
  117. cache_context.route.name:
  118. class: Drupal\Core\Cache\Context\RouteNameCacheContext
  119. arguments: ['@current_route_match']
  120. tags:
  121. - { name: cache.context }
  122. cache_context.route.menu_active_trails:
  123. class: Drupal\Core\Cache\Context\MenuActiveTrailsCacheContext
  124. calls:
  125. - [setContainer, ['@service_container']]
  126. tags:
  127. - { name: cache.context }
  128. # Complex cache contexts, that may be calculated from a combination of
  129. # multiple aspects of the request context plus additional logic. Hence they
  130. # are their own roots.
  131. cache_context.user:
  132. class: Drupal\Core\Cache\Context\UserCacheContext
  133. arguments: ['@current_user']
  134. tags:
  135. - { name: cache.context}
  136. cache_context.user.permissions:
  137. class: Drupal\Core\Cache\Context\AccountPermissionsCacheContext
  138. arguments: ['@current_user', '@user_permissions_hash_generator']
  139. tags:
  140. - { name: cache.context}
  141. cache_context.user.roles:
  142. class: Drupal\Core\Cache\Context\UserRolesCacheContext
  143. arguments: ['@current_user']
  144. tags:
  145. - { name: cache.context}
  146. cache_context.user.is_super_user:
  147. class: Drupal\Core\Cache\Context\IsSuperUserCacheContext
  148. arguments: ['@current_user']
  149. tags:
  150. - { name: cache.context}
  151. cache_context.languages:
  152. class: Drupal\Core\Cache\Context\LanguagesCacheContext
  153. arguments: ['@language_manager']
  154. tags:
  155. - { name: cache.context}
  156. cache_context.theme:
  157. class: Drupal\Core\Cache\Context\ThemeCacheContext
  158. arguments: ['@theme.manager']
  159. tags:
  160. - { name: cache.context}
  161. cache_context.timezone:
  162. class: Drupal\Core\Cache\Context\TimeZoneCacheContext
  163. tags:
  164. - { name: cache.context}
  165. cache_factory:
  166. class: Drupal\Core\Cache\CacheFactory
  167. arguments: ['@settings', '%cache_default_bin_backends%']
  168. calls:
  169. - [setContainer, ['@service_container']]
  170. cache_contexts_manager:
  171. class: Drupal\Core\Cache\Context\CacheContextsManager
  172. arguments: ['@service_container', '%cache_contexts%' ]
  173. cache_tags.invalidator:
  174. parent: container.trait
  175. class: Drupal\Core\Cache\CacheTagsInvalidator
  176. calls:
  177. - [setContainer, ['@service_container']]
  178. tags:
  179. - { name: service_collector, call: addInvalidator, tag: cache_tags_invalidator }
  180. cache_tags.invalidator.checksum:
  181. class: Drupal\Core\Cache\DatabaseCacheTagsChecksum
  182. arguments: ['@database']
  183. tags:
  184. - { name: cache_tags_invalidator}
  185. cache.backend.chainedfast:
  186. class: Drupal\Core\Cache\ChainedFastBackendFactory
  187. arguments: ['@settings']
  188. calls:
  189. - [setContainer, ['@service_container']]
  190. cache.backend.database:
  191. class: Drupal\Core\Cache\DatabaseBackendFactory
  192. arguments: ['@database', '@cache_tags.invalidator.checksum']
  193. cache.backend.apcu:
  194. class: Drupal\Core\Cache\ApcuBackendFactory
  195. arguments: ['@app.root', '@site.path', '@cache_tags.invalidator.checksum']
  196. cache.backend.php:
  197. class: Drupal\Core\Cache\PhpBackendFactory
  198. arguments: ['@cache_tags.invalidator.checksum']
  199. cache.backend.memory:
  200. class: Drupal\Core\Cache\MemoryBackendFactory
  201. # A special cache bin that does not persist beyond the length of the request.
  202. cache.static:
  203. class: Drupal\Core\Cache\CacheBackendInterface
  204. tags:
  205. - { name: cache.bin, default_backend: cache.backend.memory }
  206. factory: cache_factory:get
  207. arguments: [static]
  208. cache.bootstrap:
  209. class: Drupal\Core\Cache\CacheBackendInterface
  210. tags:
  211. - { name: cache.bin, default_backend: cache.backend.chainedfast }
  212. factory: cache_factory:get
  213. arguments: [bootstrap]
  214. cache.config:
  215. class: Drupal\Core\Cache\CacheBackendInterface
  216. tags:
  217. - { name: cache.bin, default_backend: cache.backend.chainedfast }
  218. factory: cache_factory:get
  219. arguments: [config]
  220. cache.default:
  221. class: Drupal\Core\Cache\CacheBackendInterface
  222. tags:
  223. - { name: cache.bin }
  224. factory: cache_factory:get
  225. arguments: [default]
  226. cache.entity:
  227. class: Drupal\Core\Cache\CacheBackendInterface
  228. tags:
  229. - { name: cache.bin }
  230. factory: cache_factory:get
  231. arguments: [entity]
  232. cache.menu:
  233. class: Drupal\Core\Cache\CacheBackendInterface
  234. tags:
  235. - { name: cache.bin }
  236. factory: cache_factory:get
  237. arguments: [menu]
  238. cache.render:
  239. class: Drupal\Core\Cache\CacheBackendInterface
  240. tags:
  241. - { name: cache.bin }
  242. factory: cache_factory:get
  243. arguments: [render]
  244. cache.data:
  245. class: Drupal\Core\Cache\CacheBackendInterface
  246. tags:
  247. - { name: cache.bin }
  248. factory: cache_factory:get
  249. arguments: [data]
  250. cache.discovery:
  251. class: Drupal\Core\Cache\CacheBackendInterface
  252. tags:
  253. - { name: cache.bin, default_backend: cache.backend.chainedfast }
  254. factory: cache_factory:get
  255. arguments: [discovery]
  256. cache_router_rebuild_subscriber:
  257. class: Drupal\Core\EventSubscriber\CacheRouterRebuildSubscriber
  258. tags:
  259. - { name: event_subscriber }
  260. page_cache_request_policy:
  261. class: Drupal\Core\PageCache\DefaultRequestPolicy
  262. arguments: ['@session_configuration']
  263. tags:
  264. - { name: service_collector, tag: page_cache_request_policy, call: addPolicy}
  265. page_cache_response_policy:
  266. class: Drupal\Core\PageCache\ChainResponsePolicy
  267. tags:
  268. - { name: service_collector, tag: page_cache_response_policy, call: addPolicy}
  269. lazy: true
  270. page_cache_kill_switch:
  271. class: Drupal\Core\PageCache\ResponsePolicy\KillSwitch
  272. tags:
  273. - { name: page_cache_response_policy }
  274. - { name: dynamic_page_cache_response_policy }
  275. page_cache_no_cache_routes:
  276. class: Drupal\Core\PageCache\ResponsePolicy\DenyNoCacheRoutes
  277. arguments: ['@current_route_match']
  278. public: false
  279. tags:
  280. - { name: page_cache_response_policy }
  281. - { name: dynamic_page_cache_response_policy }
  282. page_cache_no_server_error:
  283. class: Drupal\Core\PageCache\ResponsePolicy\NoServerError
  284. public: false
  285. tags:
  286. - { name: page_cache_response_policy }
  287. - { name: dynamic_page_cache_response_policy }
  288. config.manager:
  289. class: Drupal\Core\Config\ConfigManager
  290. arguments: ['@entity.manager', '@config.factory', '@config.typed', '@string_translation', '@config.storage', '@event_dispatcher']
  291. config.factory:
  292. class: Drupal\Core\Config\ConfigFactory
  293. tags:
  294. - { name: event_subscriber }
  295. - { name: service_collector, tag: 'config.factory.override', call: addOverride }
  296. arguments: ['@config.storage', '@event_dispatcher', '@config.typed']
  297. config.importer_subscriber:
  298. class: Drupal\Core\Config\Importer\FinalMissingContentSubscriber
  299. tags:
  300. - { name: event_subscriber }
  301. config.installer:
  302. class: Drupal\Core\Config\ConfigInstaller
  303. arguments: ['@config.factory', '@config.storage', '@config.typed', '@config.manager', '@event_dispatcher', '%install_profile%']
  304. lazy: true
  305. config.storage:
  306. class: Drupal\Core\Config\CachedStorage
  307. arguments: ['@config.storage.active', '@cache.config']
  308. config.storage.active:
  309. class: Drupal\Core\Config\DatabaseStorage
  310. arguments: ['@database', 'config']
  311. public: false
  312. tags:
  313. - { name: backend_overridable }
  314. # @deprecated in Drupal 8.0.x and will be removed before 9.0.0. Use
  315. # config.storage.sync instead.
  316. config.storage.staging:
  317. class: Drupal\Core\Config\FileStorage
  318. factory: Drupal\Core\Config\FileStorageFactory::getSync
  319. config.storage.sync:
  320. alias: config.storage.staging
  321. config.storage.snapshot:
  322. class: Drupal\Core\Config\DatabaseStorage
  323. arguments: ['@database', config_snapshot]
  324. tags:
  325. - { name: backend_overridable }
  326. config.storage.schema:
  327. class: Drupal\Core\Config\ExtensionInstallStorage
  328. arguments: ['@config.storage', 'config/schema', '', true, '%install_profile%']
  329. config.typed:
  330. class: Drupal\Core\Config\TypedConfigManager
  331. arguments: ['@config.storage', '@config.storage.schema', '@cache.discovery', '@module_handler']
  332. tags:
  333. - { name: plugin_manager_cache_clear }
  334. context.handler:
  335. class: Drupal\Core\Plugin\Context\ContextHandler
  336. arguments: ['@typed_data_manager']
  337. context.repository:
  338. class: Drupal\Core\Plugin\Context\LazyContextRepository
  339. arguments: ['@service_container']
  340. cron:
  341. class: Drupal\Core\Cron
  342. arguments: ['@module_handler', '@lock', '@queue', '@state', '@account_switcher', '@logger.channel.cron', '@plugin.manager.queue_worker']
  343. lazy: true
  344. diff.formatter:
  345. class: Drupal\Core\Diff\DiffFormatter
  346. arguments: ['@config.factory']
  347. database:
  348. class: Drupal\Core\Database\Connection
  349. factory: Drupal\Core\Database\Database::getConnection
  350. arguments: [default]
  351. datetime.time:
  352. class: Drupal\Component\Datetime\Time
  353. arguments: ['@request_stack']
  354. file_system:
  355. class: Drupal\Core\File\FileSystem
  356. arguments: ['@stream_wrapper_manager', '@settings', '@logger.channel.file']
  357. form_builder:
  358. class: Drupal\Core\Form\FormBuilder
  359. arguments: ['@form_validator', '@form_submitter', '@form_cache', '@module_handler', '@event_dispatcher', '@request_stack', '@class_resolver', '@element_info', '@theme.manager', '@?csrf_token']
  360. form_validator:
  361. class: Drupal\Core\Form\FormValidator
  362. arguments: ['@request_stack', '@string_translation', '@csrf_token', '@logger.channel.form', '@form_error_handler']
  363. form_submitter:
  364. class: Drupal\Core\Form\FormSubmitter
  365. arguments: ['@request_stack', '@url_generator']
  366. form_error_handler:
  367. class: Drupal\Core\Form\FormErrorHandler
  368. form_cache:
  369. class: Drupal\Core\Form\FormCache
  370. arguments: ['@app.root', '@keyvalue.expirable', '@module_handler', '@current_user', '@csrf_token', '@logger.channel.form', '@request_stack', '@page_cache_request_policy']
  371. public: false # Private to form_builder
  372. keyvalue:
  373. class: Drupal\Core\KeyValueStore\KeyValueFactory
  374. arguments: ['@service_container', '%factory.keyvalue%']
  375. keyvalue.database:
  376. class: Drupal\Core\KeyValueStore\KeyValueDatabaseFactory
  377. arguments: ['@serialization.phpserialize', '@database']
  378. keyvalue.expirable:
  379. class: Drupal\Core\KeyValueStore\KeyValueExpirableFactory
  380. arguments: ['@service_container', '%factory.keyvalue.expirable%']
  381. keyvalue.expirable.database:
  382. class: Drupal\Core\KeyValueStore\KeyValueDatabaseExpirableFactory
  383. arguments: ['@serialization.phpserialize', '@database']
  384. logger.factory:
  385. class: Drupal\Core\Logger\LoggerChannelFactory
  386. parent: container.trait
  387. tags:
  388. - { name: service_collector, tag: logger, call: addLogger }
  389. logger.channel_base:
  390. abstract: true
  391. class: Drupal\Core\Logger\LoggerChannel
  392. factory: logger.factory:get
  393. logger.channel.default:
  394. parent: logger.channel_base
  395. arguments: ['system']
  396. logger.channel.php:
  397. parent: logger.channel_base
  398. arguments: ['php']
  399. logger.channel.image:
  400. parent: logger.channel_base
  401. arguments: ['image']
  402. logger.channel.cron:
  403. parent: logger.channel_base
  404. arguments: ['cron']
  405. logger.channel.file:
  406. class: Drupal\Core\Logger\LoggerChannel
  407. factory: logger.factory:get
  408. arguments: ['file']
  409. logger.channel.form:
  410. parent: logger.channel_base
  411. arguments: ['form']
  412. logger.log_message_parser:
  413. class: Drupal\Core\Logger\LogMessageParser
  414. serialization.json:
  415. class: Drupal\Component\Serialization\Json
  416. serialization.phpserialize:
  417. class: Drupal\Component\Serialization\PhpSerialize
  418. serialization.yaml:
  419. class: Drupal\Component\Serialization\Yaml
  420. settings:
  421. class: Drupal\Core\Site\Settings
  422. factory: Drupal\Core\Site\Settings::getInstance
  423. state:
  424. class: Drupal\Core\State\State
  425. arguments: ['@keyvalue', '@cache.bootstrap', '@lock']
  426. tags:
  427. - { name: needs_destruction }
  428. queue:
  429. class: Drupal\Core\Queue\QueueFactory
  430. arguments: ['@settings']
  431. calls:
  432. - [setContainer, ['@service_container']]
  433. queue.database:
  434. class: Drupal\Core\Queue\QueueDatabaseFactory
  435. arguments: ['@database']
  436. path.alias_whitelist:
  437. class: Drupal\Core\Path\AliasWhitelist
  438. tags:
  439. - { name: needs_destruction }
  440. arguments: [path_alias_whitelist, '@cache.bootstrap', '@lock', '@state', '@path.alias_storage']
  441. path.alias_manager:
  442. class: Drupal\Core\Path\AliasManager
  443. arguments: ['@path.alias_storage', '@path.alias_whitelist', '@language_manager', '@cache.data']
  444. path.current:
  445. class: Drupal\Core\Path\CurrentPathStack
  446. arguments: ['@request_stack']
  447. http_handler_stack:
  448. class: GuzzleHttp\HandlerStack
  449. public: false
  450. factory: GuzzleHttp\HandlerStack::create
  451. configurator: ['@http_handler_stack_configurator', configure]
  452. http_handler_stack_configurator:
  453. class: Drupal\Core\Http\HandlerStackConfigurator
  454. public: false
  455. arguments: ['@service_container']
  456. http_client:
  457. class: GuzzleHttp\Client
  458. factory: http_client_factory:fromOptions
  459. http_client_factory:
  460. class: Drupal\Core\Http\ClientFactory
  461. arguments: ['@http_handler_stack']
  462. plugin.manager.link_relation_type:
  463. class: \Drupal\Core\Http\LinkRelationTypeManager
  464. arguments: ['@app.root', '@module_handler', '@cache.discovery']
  465. theme.negotiator:
  466. class: Drupal\Core\Theme\ThemeNegotiator
  467. arguments: ['@access_check.theme']
  468. tags:
  469. - { name: service_collector, tag: theme_negotiator, call: addNegotiator }
  470. theme.negotiator.default:
  471. class: Drupal\Core\Theme\DefaultNegotiator
  472. arguments: ['@config.factory']
  473. tags:
  474. - { name: theme_negotiator, priority: -100 }
  475. theme.negotiator.ajax_base_page:
  476. class: Drupal\Core\Theme\AjaxBasePageNegotiator
  477. arguments: ['@csrf_token', '@config.factory', '@request_stack']
  478. tags:
  479. - { name: theme_negotiator, priority: 1000 }
  480. container.namespaces:
  481. class: ArrayObject
  482. arguments: [ '%container.namespaces%' ]
  483. container.trait:
  484. abstract: true
  485. calls:
  486. - [setContainer, ['@service_container']]
  487. default_plugin_manager:
  488. abstract: true
  489. arguments: ['@container.namespaces', '@cache.discovery', '@module_handler']
  490. module_handler:
  491. class: Drupal\Core\Extension\ModuleHandler
  492. arguments: ['@app.root', '%container.modules%', '@cache.bootstrap']
  493. module_installer:
  494. class: Drupal\Core\Extension\ModuleInstaller
  495. tags:
  496. - { name: service_collector, tag: 'module_install.uninstall_validator', call: addUninstallValidator }
  497. arguments: ['@app.root', '@module_handler', '@kernel', '@router.builder']
  498. lazy: true
  499. content_uninstall_validator:
  500. class: Drupal\Core\Entity\ContentUninstallValidator
  501. tags:
  502. - { name: module_install.uninstall_validator }
  503. arguments: ['@entity.manager', '@string_translation']
  504. lazy: true
  505. field_uninstall_validator:
  506. class: Drupal\Core\Field\FieldModuleUninstallValidator
  507. tags:
  508. - { name: module_install.uninstall_validator }
  509. arguments: ['@entity.manager', '@string_translation']
  510. lazy: true
  511. required_module_uninstall_validator:
  512. class: Drupal\Core\Extension\RequiredModuleUninstallValidator
  513. tags:
  514. - { name: module_install.uninstall_validator }
  515. arguments: ['@string_translation']
  516. lazy: true
  517. theme_handler:
  518. class: Drupal\Core\Extension\ThemeHandler
  519. arguments: ['@app.root', '@config.factory', '@module_handler', '@state', '@info_parser']
  520. theme_installer:
  521. class: Drupal\Core\Extension\ThemeInstaller
  522. arguments: ['@theme_handler', '@config.factory', '@config.installer', '@module_handler', '@config.manager', '@asset.css.collection_optimizer', '@router.builder', '@logger.channel.default', '@state']
  523. # @deprecated in Drupal 8.0.x and will be removed before 9.0.0. Use the other
  524. # entity* services instead.
  525. entity.manager:
  526. # We cannot set the deprecated property here because many test cases still
  527. # rely on this service and they would fail with deprecation warnings.
  528. class: Drupal\Core\Entity\EntityManager
  529. parent: container.trait
  530. # @todo Remove this tag in https://www.drupal.org/node/2549143.
  531. tags:
  532. - { name: plugin_manager_cache_clear }
  533. entity_type.manager:
  534. class: Drupal\Core\Entity\EntityTypeManager
  535. arguments: ['@container.namespaces', '@module_handler', '@cache.discovery', '@string_translation', '@class_resolver']
  536. parent: container.trait
  537. tags:
  538. - { name: plugin_manager_cache_clear }
  539. entity_type.repository:
  540. class: Drupal\Core\Entity\EntityTypeRepository
  541. arguments: ['@entity_type.manager']
  542. entity_type.bundle.info:
  543. class: Drupal\Core\Entity\EntityTypeBundleInfo
  544. arguments: ['@entity_type.manager', '@language_manager', '@module_handler', '@typed_data_manager', '@cache.discovery']
  545. entity.repository:
  546. class: Drupal\Core\Entity\EntityRepository
  547. arguments: ['@entity_type.manager', '@language_manager']
  548. entity_display.repository:
  549. class: Drupal\Core\Entity\EntityDisplayRepository
  550. arguments: ['@entity_type.manager', '@module_handler', '@cache.discovery', '@language_manager']
  551. entity_field.manager:
  552. class: Drupal\Core\Entity\EntityFieldManager
  553. arguments: ['@entity_type.manager', '@entity_type.bundle.info', '@entity_display.repository', '@typed_data_manager', '@language_manager', '@keyvalue', '@module_handler', '@cache.discovery']
  554. entity_type.listener:
  555. class: Drupal\Core\Entity\EntityTypeListener
  556. arguments: ['@entity_type.manager', '@entity_field.manager', '@event_dispatcher', '@entity.last_installed_schema.repository']
  557. entity_bundle.listener:
  558. class: Drupal\Core\Entity\EntityBundleListener
  559. arguments: ['@entity_type.manager', '@entity_type.bundle.info', '@entity_field.manager', '@module_handler']
  560. entity_route_subscriber:
  561. class: Drupal\Core\EventSubscriber\EntityRouteProviderSubscriber
  562. arguments: ['@entity.manager']
  563. tags:
  564. - { name: event_subscriber }
  565. entity.definition_update_manager:
  566. class: Drupal\Core\Entity\EntityDefinitionUpdateManager
  567. arguments: ['@entity.manager']
  568. entity.last_installed_schema.repository:
  569. class: Drupal\Core\Entity\EntityLastInstalledSchemaRepository
  570. arguments: ['@keyvalue']
  571. field_storage_definition.listener:
  572. class: Drupal\Core\Field\FieldStorageDefinitionListener
  573. arguments: ['@entity_type.manager', '@event_dispatcher', '@entity.last_installed_schema.repository', '@entity_field.manager']
  574. field_definition.listener:
  575. class: Drupal\Core\Field\FieldDefinitionListener
  576. arguments: ['@entity_type.manager', '@entity_field.manager', '@keyvalue', '@cache.discovery']
  577. entity.form_builder:
  578. class: Drupal\Core\Entity\EntityFormBuilder
  579. arguments: ['@entity.manager', '@form_builder']
  580. entity.bundle_config_import_validator:
  581. class: Drupal\Core\Entity\Event\BundleConfigImportValidate
  582. arguments: ['@config.manager', '@entity.manager']
  583. tags:
  584. - { name: event_subscriber }
  585. entity.autocomplete_matcher:
  586. class: Drupal\Core\Entity\EntityAutocompleteMatcher
  587. arguments: ['@plugin.manager.entity_reference_selection']
  588. plugin_form.factory:
  589. class: Drupal\Core\Plugin\PluginFormFactory
  590. arguments: ['@class_resolver']
  591. plugin.manager.entity_reference_selection:
  592. class: Drupal\Core\Entity\EntityReferenceSelection\SelectionPluginManager
  593. parent: default_plugin_manager
  594. plugin.manager.block:
  595. class: Drupal\Core\Block\BlockManager
  596. parent: default_plugin_manager
  597. plugin.manager.field.field_type:
  598. class: Drupal\Core\Field\FieldTypePluginManager
  599. arguments: ['@container.namespaces', '@cache.discovery', '@module_handler', '@typed_data_manager']
  600. plugin.manager.field.widget:
  601. class: Drupal\Core\Field\WidgetPluginManager
  602. arguments: ['@container.namespaces', '@cache.discovery', '@module_handler', '@plugin.manager.field.field_type']
  603. plugin.manager.field.formatter:
  604. class: Drupal\Core\Field\FormatterPluginManager
  605. arguments: ['@container.namespaces', '@cache.discovery', '@module_handler', '@plugin.manager.field.field_type']
  606. plugin.manager.archiver:
  607. class: Drupal\Core\Archiver\ArchiverManager
  608. parent: default_plugin_manager
  609. plugin.manager.action:
  610. class: Drupal\Core\Action\ActionManager
  611. arguments: ['@container.namespaces', '@cache.discovery', '@module_handler']
  612. plugin.manager.menu.link:
  613. class: Drupal\Core\Menu\MenuLinkManager
  614. arguments: ['@menu.tree_storage', '@menu_link.static.overrides', '@module_handler']
  615. menu.link_tree:
  616. class: Drupal\Core\Menu\MenuLinkTree
  617. arguments: ['@menu.tree_storage', '@plugin.manager.menu.link', '@router.route_provider', '@menu.active_trail', '@controller_resolver']
  618. menu.default_tree_manipulators:
  619. class: Drupal\Core\Menu\DefaultMenuLinkTreeManipulators
  620. arguments: ['@access_manager', '@current_user', '@entity_type.manager']
  621. menu.active_trail:
  622. class: Drupal\Core\Menu\MenuActiveTrail
  623. arguments: ['@plugin.manager.menu.link', '@current_route_match', '@cache.menu', '@lock']
  624. tags:
  625. - { name: needs_destruction }
  626. menu.parent_form_selector:
  627. class: Drupal\Core\Menu\MenuParentFormSelector
  628. arguments: ['@menu.link_tree', '@entity.manager', '@string_translation']
  629. plugin.manager.menu.local_action:
  630. class: Drupal\Core\Menu\LocalActionManager
  631. arguments: ['@controller_resolver', '@request_stack', '@current_route_match', '@router.route_provider', '@module_handler', '@cache.discovery', '@language_manager', '@access_manager', '@current_user']
  632. plugin.manager.menu.local_task:
  633. class: Drupal\Core\Menu\LocalTaskManager
  634. arguments: ['@controller_resolver', '@request_stack', '@current_route_match', '@router.route_provider', '@module_handler', '@cache.discovery', '@language_manager', '@access_manager', '@current_user']
  635. plugin.manager.menu.contextual_link:
  636. class: Drupal\Core\Menu\ContextualLinkManager
  637. arguments: ['@controller_resolver', '@module_handler', '@cache.discovery', '@language_manager', '@access_manager', '@current_user', '@request_stack']
  638. plugin.manager.display_variant:
  639. class: Drupal\Core\Display\VariantManager
  640. parent: default_plugin_manager
  641. plugin.manager.queue_worker:
  642. class: Drupal\Core\Queue\QueueWorkerManager
  643. parent: default_plugin_manager
  644. plugin.cache_clearer:
  645. class: Drupal\Core\Plugin\CachedDiscoveryClearer
  646. lazy: true
  647. paramconverter.menu_link:
  648. class: Drupal\Core\ParamConverter\MenuLinkPluginConverter
  649. tags:
  650. - { name: paramconverter }
  651. arguments: ['@plugin.manager.menu.link']
  652. lazy: true
  653. menu.tree_storage:
  654. class: Drupal\Core\Menu\MenuTreeStorage
  655. arguments: ['@database', '@cache.menu', '@cache_tags.invalidator', 'menu_tree']
  656. public: false # Private to plugin.manager.menu.link and menu.link_tree
  657. tags:
  658. - { name: backend_overridable }
  659. menu_link.static.overrides:
  660. class: Drupal\Core\Menu\StaticMenuLinkOverrides
  661. arguments: ['@config.factory']
  662. request_stack:
  663. class: Symfony\Component\HttpFoundation\RequestStack
  664. tags:
  665. - { name: persist }
  666. current_route_match:
  667. class: Drupal\Core\Routing\CurrentRouteMatch
  668. arguments: ['@request_stack']
  669. event_dispatcher:
  670. class: Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher
  671. arguments: ['@service_container']
  672. app.root:
  673. class: SplString
  674. factory: app.root.factory:get
  675. tags:
  676. - { name: parameter_service }
  677. app.root.factory:
  678. class: Drupal\Core\AppRootFactory
  679. arguments: ['@kernel']
  680. public: false
  681. site.path:
  682. class: SplString
  683. factory: site.path.factory:get
  684. tags:
  685. - { name: parameter_service }
  686. site.path.factory:
  687. class: Drupal\Core\SitePathFactory
  688. arguments: ['@kernel']
  689. public: false
  690. controller_resolver:
  691. class: Drupal\Core\Controller\ControllerResolver
  692. arguments: ['@psr7.http_message_factory', '@class_resolver']
  693. class_resolver:
  694. class: Drupal\Core\DependencyInjection\ClassResolver
  695. calls:
  696. - [setContainer, ['@service_container']]
  697. title_resolver:
  698. class: Drupal\Core\Controller\TitleResolver
  699. arguments: ['@controller_resolver', '@string_translation']
  700. http_kernel:
  701. class: Stack\StackedHttpKernel
  702. http_kernel.basic:
  703. class: Symfony\Component\HttpKernel\HttpKernel
  704. arguments: ['@event_dispatcher', '@controller_resolver', '@request_stack']
  705. http_middleware.negotiation:
  706. class: Drupal\Core\StackMiddleware\NegotiationMiddleware
  707. tags:
  708. - { name: http_middleware, priority: 400 }
  709. http_middleware.reverse_proxy:
  710. class: Drupal\Core\StackMiddleware\ReverseProxyMiddleware
  711. arguments: ['@settings']
  712. tags:
  713. - { name: http_middleware, priority: 300 }
  714. http_middleware.kernel_pre_handle:
  715. class: Drupal\Core\StackMiddleware\KernelPreHandle
  716. arguments: ['@kernel']
  717. tags:
  718. - { name: http_middleware, priority: 100 }
  719. http_middleware.session:
  720. class: Drupal\Core\StackMiddleware\Session
  721. tags:
  722. - { name: http_middleware, priority: 50 }
  723. calls:
  724. - [setContainer, ['@service_container']]
  725. http_middleware.cors:
  726. class: Asm89\Stack\Cors
  727. arguments: ['%cors.config%']
  728. tags:
  729. - { name: http_middleware, priority: 250 }
  730. psr7.http_foundation_factory:
  731. class: Symfony\Bridge\PsrHttpMessage\Factory\HttpFoundationFactory
  732. psr7.http_message_factory:
  733. class: Symfony\Bridge\PsrHttpMessage\Factory\DiactorosFactory
  734. language_manager:
  735. class: Drupal\Core\Language\LanguageManager
  736. arguments: ['@language.default']
  737. language.current_language_context:
  738. class: Drupal\Core\Language\ContextProvider\CurrentLanguageContext
  739. arguments: ['@language_manager']
  740. tags:
  741. - { name: 'context_provider' }
  742. language.default:
  743. class: Drupal\Core\Language\LanguageDefault
  744. arguments: ['%language.default_values%']
  745. string_translator.custom_strings:
  746. class: Drupal\Core\StringTranslation\Translator\CustomStrings
  747. arguments: ['@settings']
  748. tags:
  749. - { name: string_translator, priority: 30 }
  750. string_translation:
  751. class: Drupal\Core\StringTranslation\TranslationManager
  752. arguments: ['@language.default']
  753. tags:
  754. - { name: service_collector, tag: string_translator, call: addTranslator }
  755. database.replica:
  756. class: Drupal\Core\Database\Connection
  757. factory: Drupal\Core\Database\Database::getConnection
  758. arguments: [replica]
  759. typed_data_manager:
  760. class: Drupal\Core\TypedData\TypedDataManager
  761. arguments: ['@container.namespaces', '@cache.discovery', '@module_handler', '@class_resolver']
  762. calls:
  763. - [setValidationConstraintManager, ['@validation.constraint']]
  764. tags:
  765. - { name: plugin_manager_cache_clear }
  766. validation.constraint:
  767. class: Drupal\Core\Validation\ConstraintManager
  768. parent: default_plugin_manager
  769. tags:
  770. - { name: plugin_manager_cache_clear }
  771. lock:
  772. class: Drupal\Core\Lock\DatabaseLockBackend
  773. arguments: ['@database']
  774. tags:
  775. - { name: backend_overridable }
  776. lazy: true
  777. lock.persistent:
  778. class: Drupal\Core\Lock\PersistentDatabaseLockBackend
  779. arguments: ['@database']
  780. tags:
  781. - { name: backend_overridable }
  782. lazy: true
  783. router.request_context:
  784. class: Drupal\Core\Routing\RequestContext
  785. tags:
  786. - { name: persist }
  787. calls:
  788. - [fromRequestStack, ['@request_stack']]
  789. router.admin_context:
  790. class: Drupal\Core\Routing\AdminContext
  791. arguments: ['@current_route_match']
  792. router.route_provider:
  793. class: Drupal\Core\Routing\RouteProvider
  794. arguments: ['@database', '@state', '@path.current', '@cache.data', '@path_processor_manager', '@cache_tags.invalidator']
  795. tags:
  796. - { name: event_subscriber }
  797. - { name: backend_overridable }
  798. router.route_provider.lazy_builder:
  799. class: Drupal\Core\Routing\RouteProviderLazyBuilder
  800. arguments: ['@router.route_provider', '@router.builder']
  801. router.route_preloader:
  802. class: Drupal\Core\Routing\RoutePreloader
  803. arguments: ['@router.route_provider', '@state', '@cache.bootstrap']
  804. tags:
  805. - { name: 'event_subscriber' }
  806. router.matcher.final_matcher:
  807. class: Drupal\Core\Routing\UrlMatcher
  808. arguments: ['@path.current']
  809. deprecated: The "%service_id%" service is deprecated. You should use the 'router.no_access_checks' service instead.
  810. router.matcher:
  811. class: Symfony\Cmf\Component\Routing\NestedMatcher\NestedMatcher
  812. arguments: ['@router.route_provider']
  813. calls:
  814. - [setFinalMatcher, ['@router.matcher.final_matcher']]
  815. tags:
  816. - { name: service_collector, tag: non_lazy_route_filter, call: addRouteFilter }
  817. deprecated: The "%service_id%" service is deprecated. You should use the 'router.no_access_checks' service instead.
  818. route_filter.lazy_collector:
  819. class: Drupal\Core\Routing\LazyRouteFilter
  820. tags:
  821. - { name: non_lazy_route_filter }
  822. parent: container.trait
  823. route_filter_subscriber:
  824. class: Drupal\Core\EventSubscriber\RouteFilterSubscriber
  825. arguments: ['@route_filter.lazy_collector']
  826. tags:
  827. - { name: event_subscriber }
  828. url_generator.non_bubbling:
  829. class: Drupal\Core\Routing\UrlGenerator
  830. arguments: ['@router.route_provider', '@path_processor_manager', '@route_processor_manager', '@request_stack', '%filter_protocols%']
  831. public: false
  832. calls:
  833. - [setContext, ['@?router.request_context']]
  834. url_generator:
  835. class: Drupal\Core\Render\MetadataBubblingUrlGenerator
  836. arguments: ['@url_generator.non_bubbling', '@renderer']
  837. calls:
  838. - [setContext, ['@?router.request_context']]
  839. redirect.destination:
  840. class: Drupal\Core\Routing\RedirectDestination
  841. arguments: ['@request_stack', '@url_generator']
  842. unrouted_url_assembler:
  843. class: Drupal\Core\Utility\UnroutedUrlAssembler
  844. arguments: ['@request_stack', '@path_processor_manager', '%filter_protocols%']
  845. link_generator:
  846. class: Drupal\Core\Utility\LinkGenerator
  847. arguments: ['@url_generator', '@module_handler', '@renderer']
  848. router:
  849. class: Drupal\Core\Routing\AccessAwareRouter
  850. arguments: ['@router.no_access_checks', '@access_manager', '@current_user']
  851. router.dynamic:
  852. class: Symfony\Cmf\Component\Routing\DynamicRouter
  853. arguments: ['@router.request_context', '@router.matcher', '@url_generator']
  854. tags:
  855. - { name: service_collector, tag: non_lazy_route_enhancer, call: addRouteEnhancer }
  856. deprecated: The "%service_id%" service is deprecated. You should use the 'router.no_access_checks' service instead.
  857. router.no_access_checks:
  858. class: \Drupal\Core\Routing\Router
  859. arguments: ['@router.route_provider', '@path.current', '@url_generator']
  860. tags:
  861. - { name: service_collector, tag: non_lazy_route_enhancer, call: addRouteEnhancer }
  862. - { name: service_collector, tag: non_lazy_route_filter, call: addRouteFilter }
  863. calls:
  864. - [setContext, ['@router.request_context']]
  865. router.path_roots_subscriber:
  866. class: Drupal\Core\EventSubscriber\PathRootsSubscriber
  867. arguments: ['@state']
  868. tags:
  869. - { name: event_subscriber }
  870. entity.query:
  871. class: Drupal\Core\Entity\Query\QueryFactory
  872. arguments: ['@entity.manager']
  873. calls:
  874. - [setContainer, ['@service_container']]
  875. entity.query.config:
  876. class: Drupal\Core\Config\Entity\Query\QueryFactory
  877. arguments: ['@config.factory', '@keyvalue', '@config.manager']
  878. tags:
  879. - { name: event_subscriber }
  880. entity.query.sql:
  881. class: Drupal\Core\Entity\Query\Sql\QueryFactory
  882. arguments: ['@database']
  883. tags:
  884. - { name: backend_overridable }
  885. pgsql.entity.query.sql:
  886. class: Drupal\Core\Entity\Query\Sql\pgsql\QueryFactory
  887. arguments: ['@database']
  888. entity.query.null:
  889. class: Drupal\Core\Entity\Query\Null\QueryFactory
  890. entity.query.keyvalue:
  891. class: Drupal\Core\Entity\KeyValueStore\Query\QueryFactory
  892. arguments: ['@keyvalue']
  893. router.dumper:
  894. class: Drupal\Core\Routing\MatcherDumper
  895. arguments: ['@database', '@state']
  896. tags:
  897. - { name: backend_overridable }
  898. lazy: true
  899. router.builder:
  900. class: Drupal\Core\Routing\RouteBuilder
  901. arguments: ['@router.dumper', '@lock', '@event_dispatcher', '@module_handler', '@controller_resolver', '@access_manager.check_provider']
  902. lazy: true
  903. tags:
  904. - { name: needs_destruction }
  905. menu.rebuild_subscriber:
  906. class: Drupal\Core\EventSubscriber\MenuRouterRebuildSubscriber
  907. arguments: ['@lock', '@plugin.manager.menu.link']
  908. tags:
  909. - { name: event_subscriber }
  910. path.alias_storage:
  911. class: Drupal\Core\Path\AliasStorage
  912. arguments: ['@database', '@module_handler']
  913. tags:
  914. - { name: backend_overridable }
  915. path.matcher:
  916. class: Drupal\Core\Path\PathMatcher
  917. arguments: ['@config.factory', '@current_route_match']
  918. path.validator:
  919. class: Drupal\Core\Path\PathValidator
  920. arguments: ['@router', '@router.no_access_checks', '@current_user', '@path_processor_manager']
  921. # The argument to the hashing service defined in services.yml, to the
  922. # constructor of PhpassHashedPassword is the log2 number of iterations for
  923. # password stretching.
  924. # @todo increase by 1 every Drupal version in order to counteract increases in
  925. # the speed and power of computers available to crack the hashes. The current
  926. # password hashing method was introduced in Drupal 7 with a log2 count of 15.
  927. password:
  928. class: Drupal\Core\Password\PhpassHashedPassword
  929. arguments: [16]
  930. request_format_route_filter:
  931. class: Drupal\Core\Routing\RequestFormatRouteFilter
  932. tags:
  933. - { name: route_filter }
  934. method_filter:
  935. class: Drupal\Core\Routing\MethodFilter
  936. tags:
  937. - { name: route_filter, priority: 1 }
  938. content_type_header_matcher:
  939. class: Drupal\Core\Routing\ContentTypeHeaderMatcher
  940. tags:
  941. - { name: route_filter }
  942. paramconverter_manager:
  943. class: Drupal\Core\ParamConverter\ParamConverterManager
  944. tags:
  945. - { name: service_collector, tag: paramconverter, call: addConverter }
  946. paramconverter_subscriber:
  947. class: Drupal\Core\EventSubscriber\ParamConverterSubscriber
  948. tags:
  949. - { name: event_subscriber }
  950. arguments: ['@paramconverter_manager']
  951. paramconverter.entity:
  952. class: Drupal\Core\ParamConverter\EntityConverter
  953. tags:
  954. - { name: paramconverter }
  955. arguments: ['@entity.manager']
  956. paramconverter.entity_revision:
  957. class: Drupal\Core\ParamConverter\EntityRevisionParamConverter
  958. tags:
  959. - { name: paramconverter }
  960. arguments: ['@entity_type.manager', '@entity.repository']
  961. paramconverter.configentity_admin:
  962. class: Drupal\Core\ParamConverter\AdminPathConfigEntityConverter
  963. tags:
  964. # Use a higher priority than EntityConverter, see the class for details.
  965. - { name: paramconverter, priority: 5 }
  966. arguments: ['@entity.manager', '@config.factory', '@router.admin_context']
  967. lazy: true
  968. route_subscriber.module:
  969. class: Drupal\Core\EventSubscriber\ModuleRouteSubscriber
  970. tags:
  971. - { name: event_subscriber }
  972. arguments: ['@module_handler']
  973. resolver_manager.entity:
  974. class: Drupal\Core\Entity\EntityResolverManager
  975. arguments: ['@entity.manager', '@class_resolver']
  976. route_subscriber.entity:
  977. class: Drupal\Core\EventSubscriber\EntityRouteAlterSubscriber
  978. tags:
  979. - { name: event_subscriber }
  980. arguments: ['@resolver_manager.entity']
  981. ajax_response.subscriber:
  982. class: Drupal\Core\EventSubscriber\AjaxResponseSubscriber
  983. arguments: ['@ajax_response.attachments_processor']
  984. tags:
  985. - { name: event_subscriber }
  986. form_ajax_subscriber:
  987. class: Drupal\Core\Form\EventSubscriber\FormAjaxSubscriber
  988. arguments: ['@form_ajax_response_builder', '@string_translation']
  989. tags:
  990. - { name: event_subscriber }
  991. route_enhancer.lazy_collector:
  992. class: Drupal\Core\Routing\LazyRouteEnhancer
  993. tags:
  994. - { name: non_lazy_route_enhancer, priority: 5000 }
  995. parent: container.trait
  996. route_enhancer_subscriber:
  997. class: Drupal\Core\EventSubscriber\RouteEnhancerSubscriber
  998. arguments: ['@route_enhancer.lazy_collector']
  999. tags:
  1000. - { name: event_subscriber }
  1001. route_enhancer.param_conversion:
  1002. class: Drupal\Core\Routing\Enhancer\ParamConversionEnhancer
  1003. arguments: ['@paramconverter_manager']
  1004. tags:
  1005. - { name: route_enhancer }
  1006. - { name: event_subscriber }
  1007. route_enhancer.form:
  1008. class: Drupal\Core\Routing\Enhancer\FormRouteEnhancer
  1009. tags:
  1010. - { name: route_enhancer }
  1011. route_enhancer.entity:
  1012. class: Drupal\Core\Entity\Enhancer\EntityRouteEnhancer
  1013. tags:
  1014. - { name: route_enhancer, priority: 20 }
  1015. route_enhancer.entity_revision:
  1016. class: Drupal\Core\Routing\Enhancer\EntityRevisionRouteEnhancer
  1017. tags:
  1018. - { name: route_enhancer }
  1019. route_special_attributes_subscriber:
  1020. class: Drupal\Core\EventSubscriber\SpecialAttributesRouteSubscriber
  1021. tags:
  1022. - { name: event_subscriber }
  1023. route_http_method_subscriber:
  1024. class: Drupal\Core\EventSubscriber\RouteMethodSubscriber
  1025. tags:
  1026. - { name: event_subscriber }
  1027. psr_response_view_subscriber:
  1028. class: Drupal\Core\EventSubscriber\PsrResponseSubscriber
  1029. arguments: ['@psr7.http_foundation_factory']
  1030. tags:
  1031. - { name: event_subscriber }
  1032. # Main content view subscriber plus the renderers it uses.
  1033. main_content_view_subscriber:
  1034. class: Drupal\Core\EventSubscriber\MainContentViewSubscriber
  1035. arguments: ['@class_resolver', '@current_route_match', '%main_content_renderers%']
  1036. tags:
  1037. - { name: event_subscriber }
  1038. accept_negotiation_406:
  1039. class: Drupal\Core\EventSubscriber\AcceptNegotiation406
  1040. tags:
  1041. - { name: event_subscriber }
  1042. main_content_renderer.html:
  1043. class: Drupal\Core\Render\MainContent\HtmlRenderer
  1044. arguments: ['@title_resolver', '@plugin.manager.display_variant', '@event_dispatcher', '@module_handler', '@renderer', '@render_cache', '%renderer.config%']
  1045. tags:
  1046. - { name: render.main_content_renderer, format: html }
  1047. main_content_renderer.ajax:
  1048. class: Drupal\Core\Render\MainContent\AjaxRenderer
  1049. arguments: ['@element_info']
  1050. tags:
  1051. - { name: render.main_content_renderer, format: drupal_ajax }
  1052. - { name: render.main_content_renderer, format: iframeupload }
  1053. main_content_renderer.dialog:
  1054. class: Drupal\Core\Render\MainContent\DialogRenderer
  1055. arguments: ['@title_resolver']
  1056. tags:
  1057. - { name: render.main_content_renderer, format: drupal_dialog }
  1058. main_content_renderer.modal:
  1059. class: Drupal\Core\Render\MainContent\ModalRenderer
  1060. arguments: ['@title_resolver']
  1061. tags:
  1062. - { name: render.main_content_renderer, format: drupal_modal }
  1063. controller.form:
  1064. class: Drupal\Core\Controller\HtmlFormController
  1065. arguments: ['@controller_resolver', '@form_builder', '@class_resolver']
  1066. controller.entity_form:
  1067. class: Drupal\Core\Entity\HtmlEntityFormController
  1068. arguments: ['@controller_resolver', '@form_builder', '@entity.manager']
  1069. form_ajax_response_builder:
  1070. class: Drupal\Core\Form\FormAjaxResponseBuilder
  1071. arguments: ['@main_content_renderer.ajax', '@current_route_match']
  1072. router_listener:
  1073. class: Symfony\Component\HttpKernel\EventListener\RouterListener
  1074. tags:
  1075. - { name: event_subscriber }
  1076. arguments: ['@router', '@request_stack', '@router.request_context', NULL]
  1077. options_request_listener:
  1078. class: Drupal\Core\EventSubscriber\OptionsRequestSubscriber
  1079. arguments: ['@router.route_provider']
  1080. tags:
  1081. - { name: event_subscriber }
  1082. bare_html_page_renderer:
  1083. class: Drupal\Core\Render\BareHtmlPageRenderer
  1084. arguments: ['@renderer', '@html_response.attachments_processor']
  1085. lazy: true
  1086. private_key:
  1087. class: Drupal\Core\PrivateKey
  1088. arguments: ['@state']
  1089. csrf_token:
  1090. class: Drupal\Core\Access\CsrfTokenGenerator
  1091. arguments: ['@private_key', '@session_manager.metadata_bag']
  1092. access_arguments_resolver_factory:
  1093. class: Drupal\Core\Access\AccessArgumentsResolverFactory
  1094. access_manager:
  1095. class: Drupal\Core\Access\AccessManager
  1096. arguments: ['@router.route_provider', '@paramconverter_manager', '@access_arguments_resolver_factory', '@current_user', '@access_manager.check_provider']
  1097. access_manager.check_provider:
  1098. class: Drupal\Core\Access\CheckProvider
  1099. calls:
  1100. - [setContainer, ['@service_container']]
  1101. public: false
  1102. access_check.default:
  1103. class: Drupal\Core\Access\DefaultAccessCheck
  1104. tags:
  1105. - { name: access_check, applies_to: _access }
  1106. access_check.entity:
  1107. class: Drupal\Core\Entity\EntityAccessCheck
  1108. tags:
  1109. - { name: access_check, applies_to: _entity_access }
  1110. access_check.entity_create:
  1111. class: Drupal\Core\Entity\EntityCreateAccessCheck
  1112. arguments: ['@entity.manager']
  1113. tags:
  1114. - { name: access_check, applies_to: _entity_create_access }
  1115. access_check.entity_create_any:
  1116. class: Drupal\Core\Entity\EntityCreateAnyAccessCheck
  1117. arguments: ['@entity_type.manager', '@entity_type.bundle.info']
  1118. tags:
  1119. - { name: access_check, applies_to: _entity_create_any_access }
  1120. access_check.theme:
  1121. class: Drupal\Core\Theme\ThemeAccessCheck
  1122. arguments: ['@theme_handler']
  1123. tags:
  1124. - { name: access_check, applies_to: _access_theme }
  1125. access_check.custom:
  1126. class: Drupal\Core\Access\CustomAccessCheck
  1127. arguments: ['@controller_resolver', '@access_arguments_resolver_factory']
  1128. tags:
  1129. - { name: access_check, applies_to: _custom_access }
  1130. access_check.csrf:
  1131. class: Drupal\Core\Access\CsrfAccessCheck
  1132. tags:
  1133. - { name: access_check, applies_to: _csrf_token, needs_incoming_request: TRUE }
  1134. arguments: ['@csrf_token']
  1135. access_check.header.csrf:
  1136. class: Drupal\Core\Access\CsrfRequestHeaderAccessCheck
  1137. arguments: ['@session_configuration', '@csrf_token']
  1138. tags:
  1139. - { name: access_check }
  1140. maintenance_mode:
  1141. class: Drupal\Core\Site\MaintenanceMode
  1142. arguments: ['@state', '@current_user']
  1143. maintenance_mode_subscriber:
  1144. class: Drupal\Core\EventSubscriber\MaintenanceModeSubscriber
  1145. arguments: ['@maintenance_mode', '@config.factory', '@string_translation', '@url_generator', '@current_user', '@bare_html_page_renderer']
  1146. tags:
  1147. - { name: event_subscriber }
  1148. path_subscriber:
  1149. class: Drupal\Core\EventSubscriber\PathSubscriber
  1150. tags:
  1151. - { name: event_subscriber }
  1152. arguments: ['@path.alias_manager', '@path.current']
  1153. route_access_response_subscriber:
  1154. class: Drupal\Core\EventSubscriber\RouteAccessResponseSubscriber
  1155. tags:
  1156. - { name: event_subscriber }
  1157. client_error_response_subscriber:
  1158. class: Drupal\Core\EventSubscriber\ClientErrorResponseSubscriber
  1159. tags:
  1160. - { name: event_subscriber }
  1161. anonymous_user_response_subscriber:
  1162. class: Drupal\Core\EventSubscriber\AnonymousUserResponseSubscriber
  1163. tags:
  1164. - { name: event_subscriber }
  1165. arguments: ['@current_user']
  1166. ajax_response.attachments_processor:
  1167. class: Drupal\Core\Ajax\AjaxResponseAttachmentsProcessor
  1168. tags:
  1169. arguments: ['@asset.resolver', '@config.factory', '@asset.css.collection_renderer', '@asset.js.collection_renderer', '@request_stack', '@renderer', '@module_handler']
  1170. html_response.attachments_processor:
  1171. class: Drupal\Core\Render\HtmlResponseAttachmentsProcessor
  1172. tags:
  1173. arguments: ['@asset.resolver', '@config.factory', '@asset.css.collection_renderer', '@asset.js.collection_renderer', '@request_stack', '@renderer', '@module_handler']
  1174. html_response.subscriber:
  1175. class: Drupal\Core\EventSubscriber\HtmlResponseSubscriber
  1176. tags:
  1177. - { name: event_subscriber }
  1178. arguments: ['@html_response.attachments_processor']
  1179. finish_response_subscriber:
  1180. class: Drupal\Core\EventSubscriber\FinishResponseSubscriber
  1181. tags:
  1182. - { name: event_subscriber }
  1183. arguments: ['@language_manager', '@config.factory', '@page_cache_request_policy', '@page_cache_response_policy', '@cache_contexts_manager', '%http.response.debug_cacheability_headers%']
  1184. response_generator_subscriber:
  1185. class: Drupal\Core\EventSubscriber\ResponseGeneratorSubscriber
  1186. tags:
  1187. - { name: event_subscriber }
  1188. redirect_response_subscriber:
  1189. class: Drupal\Core\EventSubscriber\RedirectResponseSubscriber
  1190. arguments: ['@unrouted_url_assembler', '@router.request_context']
  1191. tags:
  1192. - { name: event_subscriber }
  1193. redirect_leading_slashes_subscriber:
  1194. class: Drupal\Core\EventSubscriber\RedirectLeadingSlashesSubscriber
  1195. tags:
  1196. - { name: event_subscriber }
  1197. request_close_subscriber:
  1198. class: Drupal\Core\EventSubscriber\RequestCloseSubscriber
  1199. tags:
  1200. - { name: event_subscriber }
  1201. arguments: ['@module_handler']
  1202. config_import_subscriber:
  1203. class: Drupal\Core\EventSubscriber\ConfigImportSubscriber
  1204. tags:
  1205. - { name: event_subscriber }
  1206. arguments: ['@theme_handler']
  1207. config_snapshot_subscriber:
  1208. class: Drupal\Core\EventSubscriber\ConfigSnapshotSubscriber
  1209. tags:
  1210. - { name: event_subscriber }
  1211. arguments: ['@config.manager', '@config.storage', '@config.storage.snapshot']
  1212. exception.needs_installer:
  1213. class: Drupal\Core\EventSubscriber\ExceptionDetectNeedsInstallSubscriber
  1214. arguments: ['@database']
  1215. tags:
  1216. - { name: event_subscriber }
  1217. exception.default_json:
  1218. class: Drupal\Core\EventSubscriber\ExceptionJsonSubscriber
  1219. tags:
  1220. - { name: event_subscriber }
  1221. exception.default_html:
  1222. class: Drupal\Core\EventSubscriber\DefaultExceptionHtmlSubscriber
  1223. tags:
  1224. - { name: event_subscriber }
  1225. arguments: ['@http_kernel', '@logger.channel.php', '@redirect.destination', '@router.no_access_checks']
  1226. exception.default:
  1227. class: Drupal\Core\EventSubscriber\DefaultExceptionSubscriber
  1228. tags:
  1229. - { name: event_subscriber }
  1230. arguments: ['@config.factory']
  1231. exception.logger:
  1232. class: Drupal\Core\EventSubscriber\ExceptionLoggingSubscriber
  1233. tags:
  1234. - { name: event_subscriber }
  1235. arguments: ['@logger.factory']
  1236. exception.custom_page_html:
  1237. class: Drupal\Core\EventSubscriber\CustomPageExceptionHtmlSubscriber
  1238. tags:
  1239. - { name: event_subscriber }
  1240. arguments: ['@config.factory', '@http_kernel', '@logger.channel.php', '@redirect.destination', '@router.no_access_checks', '@access_manager']
  1241. exception.fast_404_html:
  1242. class: Drupal\Core\EventSubscriber\Fast404ExceptionHtmlSubscriber
  1243. tags:
  1244. - { name: event_subscriber }
  1245. arguments: ['@config.factory', '@http_kernel']
  1246. exception.test_site:
  1247. class: Drupal\Core\EventSubscriber\ExceptionTestSiteSubscriber
  1248. tags:
  1249. - { name: event_subscriber }
  1250. exception.enforced_form_response:
  1251. class: Drupal\Core\EventSubscriber\EnforcedFormResponseSubscriber
  1252. tags:
  1253. - { name: event_subscriber }
  1254. route_processor_manager:
  1255. class: Drupal\Core\RouteProcessor\RouteProcessorManager
  1256. tags:
  1257. - { name: service_collector, tag: route_processor_outbound, call: addOutbound }
  1258. path_processor_manager:
  1259. class: Drupal\Core\PathProcessor\PathProcessorManager
  1260. tags:
  1261. - { name: service_collector, tag: path_processor_inbound, call: addInbound }
  1262. - { name: service_collector, tag: path_processor_outbound, call: addOutbound }
  1263. path_processor_decode:
  1264. class: Drupal\Core\PathProcessor\PathProcessorDecode
  1265. tags:
  1266. - { name: path_processor_inbound, priority: 1000 }
  1267. path_processor_front:
  1268. class: Drupal\Core\PathProcessor\PathProcessorFront
  1269. tags:
  1270. - { name: path_processor_inbound, priority: 200 }
  1271. - { name: path_processor_outbound, priority: 200 }
  1272. arguments: ['@config.factory']
  1273. route_processor_current:
  1274. class: Drupal\Core\RouteProcessor\RouteProcessorCurrent
  1275. arguments: ['@current_route_match']
  1276. tags:
  1277. - { name: route_processor_outbound, priority: 200 }
  1278. path_processor_alias:
  1279. class: Drupal\Core\PathProcessor\PathProcessorAlias
  1280. tags:
  1281. - { name: path_processor_inbound, priority: 100 }
  1282. - { name: path_processor_outbound, priority: 300 }
  1283. arguments: ['@path.alias_manager']
  1284. route_processor_csrf:
  1285. class: Drupal\Core\Access\RouteProcessorCsrf
  1286. tags:
  1287. - { name: route_processor_outbound }
  1288. arguments: ['@csrf_token']
  1289. transliteration:
  1290. class: Drupal\Core\Transliteration\PhpTransliteration
  1291. arguments: [null, '@module_handler']
  1292. flood:
  1293. class: Drupal\Core\Flood\DatabaseBackend
  1294. arguments: ['@database', '@request_stack']
  1295. tags:
  1296. - { name: backend_overridable }
  1297. plugin.manager.mail:
  1298. class: Drupal\Core\Mail\MailManager
  1299. arguments: ['@container.namespaces', '@cache.discovery', '@module_handler', '@config.factory', '@logger.factory', '@string_translation', '@renderer']
  1300. plugin.manager.condition:
  1301. class: Drupal\Core\Condition\ConditionManager
  1302. parent: default_plugin_manager
  1303. plugin.manager.element_info:
  1304. class: Drupal\Core\Render\ElementInfoManager
  1305. arguments: ['@container.namespaces', '@cache.discovery', '@cache_tags.invalidator', '@module_handler', '@theme.manager']
  1306. stream_wrapper_manager:
  1307. class: Drupal\Core\StreamWrapper\StreamWrapperManager
  1308. calls:
  1309. - [setContainer, ['@service_container']]
  1310. stream_wrapper.public:
  1311. class: Drupal\Core\StreamWrapper\PublicStream
  1312. tags:
  1313. - { name: stream_wrapper, scheme: public }
  1314. stream_wrapper.temporary:
  1315. class: Drupal\Core\StreamWrapper\TemporaryStream
  1316. tags:
  1317. - { name: stream_wrapper, scheme: temporary }
  1318. kernel_destruct_subscriber:
  1319. class: Drupal\Core\EventSubscriber\KernelDestructionSubscriber
  1320. tags:
  1321. - { name: event_subscriber }
  1322. calls:
  1323. - [setContainer, ['@service_container']]
  1324. image.toolkit.manager:
  1325. class: Drupal\Core\ImageToolkit\ImageToolkitManager
  1326. arguments: ['@config.factory']
  1327. parent: default_plugin_manager
  1328. tags:
  1329. - { name: plugin_manager_cache_clear }
  1330. image.toolkit.operation.manager:
  1331. class: Drupal\Core\ImageToolkit\ImageToolkitOperationManager
  1332. arguments: ['@logger.channel.image', '@image.toolkit.manager']
  1333. parent: default_plugin_manager
  1334. tags:
  1335. - { name: plugin_manager_cache_clear }
  1336. image.factory:
  1337. class: Drupal\Core\Image\ImageFactory
  1338. arguments: ['@image.toolkit.manager']
  1339. breadcrumb:
  1340. class: Drupal\Core\Breadcrumb\BreadcrumbManager
  1341. arguments: ['@module_handler']
  1342. tags:
  1343. - { name: service_collector, tag: breadcrumb_builder, call: addBuilder }
  1344. token:
  1345. class: Drupal\Core\Utility\Token
  1346. arguments: ['@module_handler', '@cache.default', '@language_manager', '@cache_tags.invalidator', '@renderer']
  1347. batch.storage:
  1348. class: Drupal\Core\Batch\BatchStorage
  1349. arguments: ['@database', '@session', '@csrf_token']
  1350. tags:
  1351. - { name: backend_overridable }
  1352. lazy: true
  1353. replica_database_ignore__subscriber:
  1354. class: Drupal\Core\EventSubscriber\ReplicaDatabaseIgnoreSubscriber
  1355. tags:
  1356. - {name: event_subscriber}
  1357. country_manager:
  1358. class: Drupal\Core\Locale\CountryManager
  1359. arguments: ['@module_handler']
  1360. date.formatter:
  1361. class: Drupal\Core\Datetime\DateFormatter
  1362. arguments: ['@entity.manager', '@language_manager', '@string_translation', '@config.factory', '@request_stack']
  1363. feed.bridge.reader:
  1364. class: Drupal\Component\Bridge\ZfExtensionManagerSfContainer
  1365. calls:
  1366. - [setContainer, ['@service_container']]
  1367. arguments: ['feed.reader.']
  1368. feed.bridge.writer:
  1369. class: Drupal\Component\Bridge\ZfExtensionManagerSfContainer
  1370. calls:
  1371. - [setContainer, ['@service_container']]
  1372. arguments: ['feed.writer.']
  1373. # Zend Feed reader plugins. Plugin instances should not be shared.
  1374. feed.reader.dublincoreentry:
  1375. class: Zend\Feed\Reader\Extension\DublinCore\Entry
  1376. shared: false
  1377. feed.reader.dublincorefeed:
  1378. class: Zend\Feed\Reader\Extension\DublinCore\Feed
  1379. shared: false
  1380. feed.reader.contententry:
  1381. class: Zend\Feed\Reader\Extension\Content\Entry
  1382. shared: false
  1383. feed.reader.atomentry:
  1384. class: Zend\Feed\Reader\Extension\Atom\Entry
  1385. shared: false
  1386. feed.reader.atomfeed:
  1387. class: Zend\Feed\Reader\Extension\Atom\Feed
  1388. shared: false
  1389. feed.reader.slashentry:
  1390. class: Zend\Feed\Reader\Extension\Slash\Entry
  1391. shared: false
  1392. feed.reader.wellformedwebentry:
  1393. class: Zend\Feed\Reader\Extension\WellFormedWeb\Entry
  1394. shared: false
  1395. feed.reader.threadentry:
  1396. class: Zend\Feed\Reader\Extension\Thread\Entry
  1397. shared: false
  1398. feed.reader.podcastentry:
  1399. class: Zend\Feed\Reader\Extension\Podcast\Entry
  1400. shared: false
  1401. feed.reader.podcastfeed:
  1402. class: Zend\Feed\Reader\Extension\Podcast\Feed
  1403. shared: false
  1404. # Zend Feed writer plugins. Plugins should be set as prototype scope.
  1405. feed.writer.atomrendererfeed:
  1406. class: Zend\Feed\Writer\Extension\Atom\Renderer\Feed
  1407. shared: false
  1408. feed.writer.contentrendererentry:
  1409. class: Zend\Feed\Writer\Extension\Content\Renderer\Entry
  1410. shared: false
  1411. feed.writer.dublincorerendererentry:
  1412. class: Zend\Feed\Writer\Extension\DublinCore\Renderer\Entry
  1413. shared: false
  1414. feed.writer.dublincorerendererfeed:
  1415. class: Zend\Feed\Writer\Extension\DublinCore\Renderer\Feed
  1416. shared: false
  1417. feed.writer.itunesentry:
  1418. class: Zend\Feed\Writer\Extension\ITunes\Entry
  1419. shared: false
  1420. feed.writer.itunesfeed:
  1421. class: Zend\Feed\Writer\Extension\ITunes\Feed
  1422. shared: false
  1423. feed.writer.itunesrendererentry:
  1424. class: Zend\Feed\Writer\Extension\ITunes\Renderer\Entry
  1425. shared: false
  1426. feed.writer.itunesrendererfeed:
  1427. class: Zend\Feed\Writer\Extension\ITunes\Renderer\Feed
  1428. shared: false
  1429. feed.writer.slashrendererentry:
  1430. class: Zend\Feed\Writer\Extension\Slash\Renderer\Entry
  1431. shared: false
  1432. feed.writer.threadingrendererentry:
  1433. class: Zend\Feed\Writer\Extension\Threading\Renderer\Entry
  1434. shared: false
  1435. feed.writer.wellformedwebrendererentry:
  1436. class: Zend\Feed\Writer\Extension\WellFormedWeb\Renderer\Entry
  1437. shared: false
  1438. theme.manager:
  1439. class: Drupal\Core\Theme\ThemeManager
  1440. arguments: ['@app.root', '@theme.negotiator', '@theme.initialization', '@module_handler']
  1441. calls:
  1442. - [setThemeRegistry, ['@theme.registry']]
  1443. theme.initialization:
  1444. class: Drupal\Core\Theme\ThemeInitialization
  1445. arguments: ['@app.root', '@theme_handler', '@cache.bootstrap', '@module_handler']
  1446. theme.registry:
  1447. class: Drupal\Core\Theme\Registry
  1448. arguments: ['@app.root', '@cache.default', '@lock', '@module_handler', '@theme_handler', '@theme.initialization', null, '@cache.bootstrap']
  1449. tags:
  1450. - { name: needs_destruction }
  1451. calls:
  1452. - [setThemeManager, ['@theme.manager']]
  1453. authentication:
  1454. class: Drupal\Core\Authentication\AuthenticationManager
  1455. arguments: ['@authentication_collector']
  1456. authentication_collector:
  1457. class: Drupal\Core\Authentication\AuthenticationCollector
  1458. tags:
  1459. - { name: service_collector, tag: authentication_provider, call: addProvider }
  1460. authentication_subscriber:
  1461. class: Drupal\Core\EventSubscriber\AuthenticationSubscriber
  1462. arguments: ['@authentication', '@current_user']
  1463. tags:
  1464. - { name: event_subscriber }
  1465. account_switcher:
  1466. class: Drupal\Core\Session\AccountSwitcher
  1467. arguments: ['@current_user', '@session_handler.write_safe']
  1468. user_permissions_hash_generator:
  1469. class: Drupal\Core\Session\PermissionsHashGenerator
  1470. arguments: ['@private_key', '@cache.bootstrap', '@cache.static']
  1471. current_user:
  1472. class: Drupal\Core\Session\AccountProxy
  1473. session_configuration:
  1474. class: Drupal\Core\Session\SessionConfiguration
  1475. arguments: ['%session.storage.options%']
  1476. session:
  1477. class: Symfony\Component\HttpFoundation\Session\Session
  1478. arguments: ['@session_manager', '@session.attribute_bag', '@session.flash_bag']
  1479. session.flash_bag:
  1480. class: Symfony\Component\HttpFoundation\Session\Flash\FlashBag
  1481. public: false
  1482. session.attribute_bag:
  1483. class: Symfony\Component\HttpFoundation\Session\Attribute\AttributeBag
  1484. public: false
  1485. session_handler:
  1486. alias: session_handler.storage
  1487. session_handler.storage:
  1488. class: Drupal\Core\Session\SessionHandler
  1489. arguments: ['@request_stack', '@database']
  1490. tags:
  1491. - { name: backend_overridable }
  1492. session_handler.write_check:
  1493. class: Symfony\Component\HttpFoundation\Session\Storage\Handler\WriteCheckSessionHandler
  1494. tags:
  1495. - { name: session_handler_proxy, priority: 100 }
  1496. session_handler.write_safe:
  1497. class: Drupal\Core\Session\WriteSafeSessionHandler
  1498. tags:
  1499. - { name: session_handler_proxy, priority: 150 }
  1500. session_manager:
  1501. class: Drupal\Core\Session\SessionManager
  1502. arguments: ['@request_stack', '@database', '@session_manager.metadata_bag', '@session_configuration', '@session_handler']
  1503. tags:
  1504. - { name: backend_overridable }
  1505. calls:
  1506. - [setWriteSafeHandler, ['@session_handler.write_safe']]
  1507. session_manager.metadata_bag:
  1508. class: Drupal\Core\Session\MetadataBag
  1509. arguments: ['@settings']
  1510. asset.css.collection_renderer:
  1511. class: Drupal\Core\Asset\CssCollectionRenderer
  1512. arguments: [ '@state' ]
  1513. asset.css.collection_optimizer:
  1514. class: Drupal\Core\Asset\CssCollectionOptimizer
  1515. arguments: [ '@asset.css.collection_grouper', '@asset.css.optimizer', '@asset.css.dumper', '@state' ]
  1516. asset.css.optimizer:
  1517. class: Drupal\Core\Asset\CssOptimizer
  1518. asset.css.collection_grouper:
  1519. class: Drupal\Core\Asset\CssCollectionGrouper
  1520. asset.css.dumper:
  1521. class: Drupal\Core\Asset\AssetDumper
  1522. asset.js.collection_renderer:
  1523. class: Drupal\Core\Asset\JsCollectionRenderer
  1524. arguments: [ '@state' ]
  1525. asset.js.collection_optimizer:
  1526. class: Drupal\Core\Asset\JsCollectionOptimizer
  1527. arguments: [ '@asset.js.collection_grouper', '@asset.js.optimizer', '@asset.js.dumper', '@state' ]
  1528. asset.js.optimizer:
  1529. class: Drupal\Core\Asset\JsOptimizer
  1530. asset.js.collection_grouper:
  1531. class: Drupal\Core\Asset\JsCollectionGrouper
  1532. asset.js.dumper:
  1533. class: Drupal\Core\Asset\AssetDumper
  1534. library.discovery:
  1535. class: Drupal\Core\Asset\LibraryDiscovery
  1536. arguments: ['@library.discovery.collector']
  1537. library.discovery.collector:
  1538. class: Drupal\Core\Asset\LibraryDiscoveryCollector
  1539. arguments: ['@cache.discovery', '@lock', '@library.discovery.parser', '@theme.manager']
  1540. tags:
  1541. - { name: needs_destruction }
  1542. library.discovery.parser:
  1543. class: Drupal\Core\Asset\LibraryDiscoveryParser
  1544. arguments: ['@app.root', '@module_handler', '@theme.manager']
  1545. library.dependency_resolver:
  1546. class: Drupal\Core\Asset\LibraryDependencyResolver
  1547. arguments: ['@library.discovery']
  1548. asset.resolver:
  1549. class: Drupal\Core\Asset\AssetResolver
  1550. arguments: ['@library.discovery', '@library.dependency_resolver', '@module_handler', '@theme.manager', '@language_manager', '@cache.data']
  1551. info_parser:
  1552. class: Drupal\Core\Extension\InfoParser
  1553. twig:
  1554. class: Drupal\Core\Template\TwigEnvironment
  1555. arguments: ['@app.root', '@cache.default', '%twig_extension_hash%', '@state', '@twig.loader', '%twig.config%']
  1556. tags:
  1557. - { name: service_collector, tag: 'twig.extension', call: addExtension }
  1558. twig.extension:
  1559. class: Drupal\Core\Template\TwigExtension
  1560. arguments: ['@renderer', '@url_generator', '@theme.manager', '@date.formatter']
  1561. tags:
  1562. - { name: twig.extension, priority: 100 }
  1563. # @todo Figure out what to do about debugging functions.
  1564. # @see https://www.drupal.org/node/1804998
  1565. twig.extension.debug:
  1566. class: Twig_Extension_Debug
  1567. tags:
  1568. - { name: twig.extension }
  1569. twig.loader:
  1570. class: Twig_Loader_Chain
  1571. public: false
  1572. tags:
  1573. - { name: service_collector, tag: twig.loader, call: addLoader, required: TRUE }
  1574. twig.loader.filesystem:
  1575. class: Drupal\Core\Template\Loader\FilesystemLoader
  1576. arguments: ['@app.root', '@module_handler', '@theme_handler']
  1577. tags:
  1578. - { name: twig.loader, priority: 100 }
  1579. twig.loader.theme_registry:
  1580. class: Drupal\Core\Template\Loader\ThemeRegistryLoader
  1581. arguments: ['@theme.registry']
  1582. tags:
  1583. - { name: twig.loader, priority: 0 }
  1584. twig.loader.string:
  1585. class: Drupal\Core\Template\Loader\StringLoader
  1586. tags:
  1587. - { name: twig.loader, priority: -100 }
  1588. element_info:
  1589. alias: plugin.manager.element_info
  1590. file.mime_type.guesser:
  1591. class: Drupal\Core\File\MimeType\MimeTypeGuesser
  1592. arguments: ['@stream_wrapper_manager']
  1593. tags:
  1594. - { name: service_collector, tag: mime_type_guesser, call: addGuesser }
  1595. lazy: true
  1596. file.mime_type.guesser.extension:
  1597. class: Drupal\Core\File\MimeType\ExtensionMimeTypeGuesser
  1598. arguments: ['@module_handler']
  1599. tags:
  1600. - { name: mime_type_guesser }
  1601. lazy: true
  1602. # Currently needs to be public as it is called by
  1603. # \Drupal\Core\Render\Element\StatusMessages.
  1604. # @todo Consider making this service private again after
  1605. # https://www.drupal.org/node/2367555 lands.
  1606. render_placeholder_generator:
  1607. class: Drupal\Core\Render\PlaceholderGenerator
  1608. arguments: ['%renderer.config%']
  1609. render_cache:
  1610. class: Drupal\Core\Render\PlaceholderingRenderCache
  1611. arguments: ['@request_stack', '@cache_factory', '@cache_contexts_manager', '@render_placeholder_generator']
  1612. renderer:
  1613. class: Drupal\Core\Render\Renderer
  1614. arguments: ['@controller_resolver', '@theme.manager', '@plugin.manager.element_info', '@render_placeholder_generator', '@render_cache', '@request_stack', '%renderer.config%']
  1615. early_rendering_controller_wrapper_subscriber:
  1616. class: Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber
  1617. arguments: ['@controller_resolver', '@renderer']
  1618. tags:
  1619. - { name: event_subscriber }
  1620. # Placeholder strategies for rendering placeholders.
  1621. html_response.placeholder_strategy_subscriber:
  1622. class: Drupal\Core\EventSubscriber\HtmlResponsePlaceholderStrategySubscriber
  1623. tags:
  1624. - { name: event_subscriber }
  1625. arguments: ['@placeholder_strategy']
  1626. placeholder_strategy:
  1627. class: Drupal\Core\Render\Placeholder\ChainedPlaceholderStrategy
  1628. tags:
  1629. - { name: service_collector, tag: placeholder_strategy, call: addPlaceholderStrategy }
  1630. placeholder_strategy.single_flush:
  1631. class: Drupal\Core\Render\Placeholder\SingleFlushStrategy
  1632. tags:
  1633. - { name: placeholder_strategy, priority: -1000 }
  1634. email.validator:
  1635. class: Egulias\EmailValidator\EmailValidator
  1636. update.post_update_registry:
  1637. class: Drupal\Core\Update\UpdateRegistry
  1638. factory: ['@update.post_update_registry_factory', create]
  1639. update.post_update_registry_factory:
  1640. class: Drupal\Core\Update\UpdateRegistryFactory
  1641. parent: container.trait
  1642. uuid:
  1643. class: Drupal\Component\Uuid\Php
  1644. response_filter.active_link:
  1645. class: Drupal\Core\EventSubscriber\ActiveLinkResponseFilter
  1646. arguments: ['@current_user', '@path.current', '@path.matcher', '@language_manager']
  1647. tags:
  1648. - { name: event_subscriber }
  1649. response_filter.rss.relative_url:
  1650. class: Drupal\Core\EventSubscriber\RssResponseRelativeUrlFilter
  1651. tags:
  1652. - { name: event_subscriber }