ActiveTheme

Defines a theme and its information needed at runtime.

The theme manager will store the active theme object.

Hierarchy

See also

\Drupal\Core\Theme\ThemeManager

\Drupal\Core\Theme\ThemeInitialization

File

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

Namespace

Drupal\Core\Theme

Members

Name Modifiers Type Description
ActiveTheme::$baseThemes protected property An array of base theme active theme objects keyed by name.
ActiveTheme::$engine protected property The engine of the theme.
ActiveTheme::$extension protected property The extension object.
ActiveTheme::$libraries protected property The libraries provided by the theme.
ActiveTheme::$librariesOverride protected property The libraries or library assets overridden by the theme.
ActiveTheme::$name protected property The machine name of the active theme.
ActiveTheme::$owner protected property The path to the theme engine for root themes.
ActiveTheme::$path protected property The path to the theme.
ActiveTheme::$regions protected property The regions provided by the theme.
ActiveTheme::$styleSheetsRemove protected property The stylesheets which are set to be removed by the theme.
ActiveTheme::getBaseThemes public function Returns an array of base theme active theme objects keyed by name.
ActiveTheme::getEngine public function Returns the theme engine.
ActiveTheme::getExtension public function Returns the extension object.
ActiveTheme::getLibraries public function Returns the libraries provided by the theme.
ActiveTheme::getLibrariesExtend public function Returns the libraries extended by the active theme.
ActiveTheme::getLibrariesOverride public function Returns the libraries or library assets overridden by the active theme.
ActiveTheme::getName public function Returns the machine name of the theme.
ActiveTheme::getOwner public function Returns the path to the theme engine for root themes.
ActiveTheme::getPath public function Returns the path to the theme directory.
ActiveTheme::getRegions public function The regions used by the theme.
ActiveTheme::getStyleSheetsRemove Deprecated public function Returns the removed stylesheets by the theme.
ActiveTheme::__construct public function Constructs an ActiveTheme object.
doc_Drupal
2016-10-29 08:43:27
Comments
Leave a Comment

Please login to continue.