You are here

public function ThemeHandlerInterface::setDefault in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Extension/ThemeHandlerInterface.php \Drupal\Core\Extension\ThemeHandlerInterface::setDefault()

Sets a new default theme.

Parameters

string $theme: The new default theme.

Return value

$this

1 method overrides ThemeHandlerInterface::setDefault()
ThemeHandler::setDefault in core/lib/Drupal/Core/Extension/ThemeHandler.php
Sets a new default theme.

File

core/lib/Drupal/Core/Extension/ThemeHandlerInterface.php, line 174
Contains \Drupal\Core\Extension\ThemeHandlerInterface.

Class

ThemeHandlerInterface
Manages the list of available themes.

Namespace

Drupal\Core\Extension

Code

public function setDefault($theme);