You are here

public function WebformThemeManager::getThemeName in Webform 6.x

Same name and namespace in other branches
  1. 8.5 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 100

Class

WebformThemeManager
Defines a class to manage webform theming.

Namespace

Drupal\webform

Code

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