theme_installer

Same name in other branches
  1. 9 core/core.services.yml \theme_installer
  2. 8.9.x core/core.services.yml \theme_installer

Class

Drupal\Core\Extension\ThemeInstaller
28 string references to theme_installer
AddedStylesheetsTest::testCkeditorStylesheets in core/modules/ckeditor5/tests/src/Functional/AddedStylesheetsTest.php
Test the ckeditor5-stylesheets theme config.
BaseThemeMissingTest::setUp in core/tests/Drupal/KernelTests/Core/Theme/BaseThemeMissingTest.php
BaseThemeRequiredTest::setUp in core/tests/Drupal/KernelTests/Core/Theme/BaseThemeRequiredTest.php
BlockTest::testUninstallTheme in core/modules/block/tests/src/Functional/BlockTest.php
Tests that uninstalling a theme removes its block configuration.
CKEditorStylesheetsWarningTest::installThemeThatTriggersWarning in core/modules/ckeditor5/tests/src/FunctionalJavascript/CKEditorStylesheetsWarningTest.php
Installs and enables themes for testing.

... See full list

File

core/core.services.yml

View source
  1. class: Drupal\Core\Extension\ThemeInstaller
  2. arguments:
  3. - '@theme_handler'
  4. - '@config.factory'
  5. - '@config.installer'
  6. - '@module_handler'
  7. - '@config.manager'
  8. - '@asset.css.collection_optimizer'
  9. - '@router.builder'
  10. - '@logger.channel.default'
  11. - '@state'
  12. - '@extension.list.module'
  13. - '@theme.registry'
  14. - '@extension.list.theme'

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