function ThemeSettings::getTheme

Same name in other branches
  1. 9 core/lib/Drupal/Core/Theme/ThemeSettings.php \Drupal\Core\Theme\ThemeSettings::getTheme()
  2. 10 core/lib/Drupal/Core/Theme/ThemeSettings.php \Drupal\Core\Theme\ThemeSettings::getTheme()
  3. 11.x core/lib/Drupal/Core/Theme/ThemeSettings.php \Drupal\Core\Theme\ThemeSettings::getTheme()

Returns the theme of this theme settings object.

Return value

string The theme of this theme settings object.

File

core/lib/Drupal/Core/Theme/ThemeSettings.php, line 41

Class

ThemeSettings
Provides a configuration API wrapper for runtime merged theme settings.

Namespace

Drupal\Core\Theme

Code

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

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