W3cubDocs

/Drupal 8

public function MissingThemeDependencyException::getMissingThemeName

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Theme!MissingThemeDependencyException.php/function/MissingThemeDependencyException::getMissingThemeName/8.1.x