You are here

public function WebformThemeManager::getThemeName in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/WebformThemeManager.php \Drupal\webform\WebformThemeManager::getThemeName()

Get a theme's name.

Return value

string A theme's name

Overrides WebformThemeManagerInterface::getThemeName

File

src/WebformThemeManager.php, line 102

Class

WebformThemeManager
Defines a class to manage webform theming.

Namespace

Drupal\webform

Code

public function getThemeName($name) {
  return $this->themeHandler
    ->getName($name);
}