You are here

public function MissingThemeDependencyException::getMissingThemeName in Drupal 8

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

Gets the machine name of the missing theme.

Return value

string The machine name of the theme that is missing.

File

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

Class

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

Namespace

Drupal\Core\Theme

Code

public function getMissingThemeName() {
  return $this->theme;
}