theme.initialization

Same name and namespace in other branches
  1. 11.x core/core.services.yml \theme.initialization
  2. 10 core/core.services.yml \theme.initialization
  3. 9 core/core.services.yml \theme.initialization
  4. 8.9.x core/core.services.yml \theme.initialization

Class

Drupal\Core\Theme\ThemeInitialization
16 string references to theme.initialization
CommentFieldPreprocessTest::testCommentFieldPreprocess in core/modules/comment/tests/src/Kernel/CommentFieldPreprocessTest.php
Tests that CommentThemeHooks::preprocessField() injects variables.
CssAssetController::create in core/modules/system/src/Controller/CssAssetController.php
Instantiates a new instance of the implementing class using autowiring.
ElementInfoIntegrationTest::testElementInfoByTheme in core/tests/Drupal/KernelTests/Core/Render/ElementInfoIntegrationTest.php
Ensures that the element info can be altered by themes.
JsAssetController::create in core/modules/system/src/Controller/JsAssetController.php
Instantiates a new instance of the implementing class using autowiring.
LayoutPluginManagerTest::activateTheme in core/tests/Drupal/KernelTests/Core/Layout/LayoutPluginManagerTest.php
Activates a specified theme.

... See full list

File

core/core.services.yml

View source
  1. class: Drupal\Core\Theme\ThemeInitialization
  2. autowire: true

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.