You are here

protected function WardenManager::getThemes in Warden 8

Same name and namespace in other branches
  1. 8.2 src/Service/WardenManager.php \Drupal\warden\Service\WardenManager::getThemes()
  2. 3.x src/Service/WardenManager.php \Drupal\warden\Service\WardenManager::getThemes()

Return value

\Drupal\Core\Extension\Extension[]

1 call to WardenManager::getThemes()
WardenManager::generateSiteData in src/Service/WardenManager.php
Generate all the site's data for Warden.

File

src/Service/WardenManager.php, line 350

Class

WardenManager
Default controller for the warden module.

Namespace

Drupal\warden\Service

Code

protected function getThemes() {
  if (!isset($this->themes)) {
    $this
      ->setThemes(system_list('theme'));
  }
  return $this->themes;
}