You are here

public function MissingThemeDependencyException::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Theme/MissingThemeDependencyException.php \Drupal\Core\Theme\MissingThemeDependencyException::__construct()

Constructs the exception.

Parameters

string $message: The exception message.

string $theme: The missing theme dependency.

File

core/lib/Drupal/Core/Theme/MissingThemeDependencyException.php, line 32
Contains \Drupal\Core\Theme\MissingThemeDependencyException.

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;
}