You are here

protected function ThemeInstallerTest::themeHandler in Drupal 8

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

Returns the theme handler service.

Return value

\Drupal\Core\Extension\ThemeHandlerInterface

File

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

Class

ThemeInstallerTest
Tests installing and uninstalling of themes.

Namespace

Drupal\KernelTests\Core\Theme

Code

protected function themeHandler() {
  return $this->container
    ->get('theme_handler');
}