public function MissingThemeDependencyException::__construct in Drupal 9
Same name and namespace in other branches
- 8 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\ThemeCode
public function __construct($message, $theme) {
parent::__construct($message);
$this->theme = $theme;
}