You are here

protected function StubThemeHandler::systemThemeList in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/tests/Drupal/Tests/Core/Extension/ThemeHandlerTest.php \Drupal\Tests\Core\Extension\StubThemeHandler::systemThemeList()

Wraps system_list().

Return value

array A list of themes keyed by name.

Overrides ThemeHandler::systemThemeList

File

core/tests/Drupal/Tests/Core/Extension/ThemeHandlerTest.php, line 337
Contains \Drupal\Tests\Core\Extension\ThemeHandlerTest.

Class

StubThemeHandler
Extends the default theme handler to mock some drupal_ methods.

Namespace

Drupal\Tests\Core\Extension

Code

protected function systemThemeList() {
  return $this->systemList;
}