public function MissingThemeDependencyException::__construct

public MissingThemeDependencyException::__construct($message, $theme)

Constructs the exception.

Parameters

string $message: The exception message.

string $theme: The missing theme dependency.

File

core/lib/Drupal/Core/Theme/MissingThemeDependencyException.php, line 27

Class

MissingThemeDependencyException
Exception to be thrown when base theme for installed theme is not installed.

Namespace

Drupal\Core\Theme

Code

public function __construct($message, $theme) {
  parent::__construct($message);
  $this->theme = $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!Theme!MissingThemeDependencyException.php/function/MissingThemeDependencyException::__construct/8.1.x