W3cubDocs

/Drupal 8

public function ActiveTheme::getBaseThemes

public ActiveTheme::getBaseThemes()

Returns an array of base theme active theme objects keyed by name.

The order starts with the base theme of $this and ends with the root of the dependency chain.

Return value

static[]

File

core/lib/Drupal/Core/Theme/ActiveTheme.php, line 193

Class

ActiveTheme
Defines a theme and its information needed at runtime.

Namespace

Drupal\Core\Theme

Code

public function getBaseThemes() {
  return $this->baseThemes;
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Theme!ActiveTheme.php/function/ActiveTheme::getBaseThemes/8.1.x