You are here

protected function ThemeInstallerTest::themeInstaller in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/KernelTests/Core/Theme/ThemeInstallerTest.php \Drupal\KernelTests\Core\Theme\ThemeInstallerTest::themeInstaller()
  2. 9 core/tests/Drupal/KernelTests/Core/Theme/ThemeInstallerTest.php \Drupal\KernelTests\Core\Theme\ThemeInstallerTest::themeInstaller()

Returns the theme installer service.

Return value

\Drupal\Core\Extension\ThemeInstallerInterface

File

core/tests/Drupal/KernelTests/Core/Theme/ThemeInstallerTest.php, line 450

Class

ThemeInstallerTest
Tests installing and uninstalling of themes.

Namespace

Drupal\KernelTests\Core\Theme

Code

protected function themeInstaller() {
  return $this->container
    ->get('theme_installer');
}