public function ThemeHandlerInterface::setDefault

public ThemeHandlerInterface::setDefault($theme)

Sets a new default theme.

Parameters

string $theme: The new default theme.

Return value

$this

File

core/lib/Drupal/Core/Extension/ThemeHandlerInterface.php, line 169

Class

ThemeHandlerInterface
Manages the list of available themes.

Namespace

Drupal\Core\Extension

Code

public function setDefault($theme);

© 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!Extension!ThemeHandlerInterface.php/function/ThemeHandlerInterface::setDefault/8.1.x