function MissingThemeDependencyException::getMissingThemeName

Same name in other branches
  1. 9 core/lib/Drupal/Core/Theme/MissingThemeDependencyException.php \Drupal\Core\Theme\MissingThemeDependencyException::getMissingThemeName()
  2. 8.9.x core/lib/Drupal/Core/Theme/MissingThemeDependencyException.php \Drupal\Core\Theme\MissingThemeDependencyException::getMissingThemeName()
  3. 10 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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.