ThemeManagerInterface::setActiveTheme

public ThemeManagerInterface::setActiveTheme(ActiveTheme $active_theme)

Sets the current active theme manually.

Note: This method should not be used in common cases, just in special cases like tests.

Parameters

\Drupal\Core\Theme\ActiveTheme $active_theme: The new active theme.

Return value

$this

File

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

Class

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

Namespace

Drupal\Core\Theme

Code

public function setActiveTheme(ActiveTheme $active_theme);
doc_Drupal
2016-10-29 09:48:17
Comments
Leave a Comment

Please login to continue.