function ThemeInstallerTest::extensionListTheme

Same name in other branches
  1. 11.x core/tests/Drupal/KernelTests/Core/Theme/ThemeInstallerTest.php \Drupal\KernelTests\Core\Theme\ThemeInstallerTest::extensionListTheme()

Returns the ThemeExtensionList.

Return value

\Drupal\Core\Extension\ThemeExtensionList

File

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

Class

ThemeInstallerTest
Tests installing and uninstalling of themes.

Namespace

Drupal\KernelTests\Core\Theme

Code

protected function extensionListTheme() : ThemeExtensionList {
    return $this->container
        ->get('extension.list.theme');
}

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