You are here

protected function ThemeInstallerTest::moduleHandler 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::moduleHandler()
  2. 9 core/tests/Drupal/KernelTests/Core/Theme/ThemeInstallerTest.php \Drupal\KernelTests\Core\Theme\ThemeInstallerTest::moduleHandler()

Returns the ModuleHandler.

Return value

\Drupal\Core\Extension\ModuleHandlerInterface

File

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

Class

ThemeInstallerTest
Tests installing and uninstalling of themes.

Namespace

Drupal\KernelTests\Core\Theme

Code

protected function moduleHandler() {
  return $this->container
    ->get('module_handler');
}