function ThemeInstallerTest::themeInstaller

Same name in other branches
  1. 9 core/tests/Drupal/KernelTests/Core/Theme/ThemeInstallerTest.php \Drupal\KernelTests\Core\Theme\ThemeInstallerTest::themeInstaller()
  2. 8.9.x core/tests/Drupal/KernelTests/Core/Theme/ThemeInstallerTest.php \Drupal\KernelTests\Core\Theme\ThemeInstallerTest::themeInstaller()
  3. 11.x 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 467

Class

ThemeInstallerTest
Tests installing and uninstalling of themes.

Namespace

Drupal\KernelTests\Core\Theme

Code

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

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