public function ThemeHandler::getBaseThemes in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Extension/ThemeHandler.php \Drupal\Core\Extension\ThemeHandler::getBaseThemes()
Finds all the base themes for the specified theme.
Themes can inherit templates and function implementations from earlier themes.
Parameters
\Drupal\Core\Extension\Extension[] $themes: An array of available themes.
string $theme: The name of the theme whose base we are looking for.
Return value
array Returns an array of all of the theme's ancestors; the first element's value will be NULL if an error occurred.
Overrides ThemeHandlerInterface::getBaseThemes
1 call to ThemeHandler::getBaseThemes()
- ThemeHandler::rebuildThemeData in core/
lib/ Drupal/ Core/ Extension/ ThemeHandler.php - Scans and collects theme extension data and their engines.
File
- core/
lib/ Drupal/ Core/ Extension/ ThemeHandler.php, line 367 - Contains \Drupal\Core\Extension\ThemeHandler.
Class
- ThemeHandler
- Default theme handler using the config system to store installation statuses.
Namespace
Drupal\Core\ExtensionCode
public function getBaseThemes(array $themes, $theme) {
return $this
->doGetBaseThemes($themes, $theme);
}