You are here

public function MissingThemeDependencyException::__construct in Drupal 8

Same name and namespace in other branches
  1. 9 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 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;
}