W3cubDocs

/Drupal 8

public function ThemeManagerInterface::getActiveTheme

public ThemeManagerInterface::getActiveTheme()

Returns the active theme object.

Return value

\Drupal\Core\Theme\ActiveTheme

File

core/lib/Drupal/Core/Theme/ThemeManagerInterface.php, line 34

Class

ThemeManagerInterface
Provides a high level access to the active theme and methods to use it.

Namespace

Drupal\Core\Theme

Code

public function getActiveTheme();

© 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!ThemeManagerInterface.php/function/ThemeManagerInterface::getActiveTheme/8.1.x