W3cubDocs

/Drupal 8

public function ThemeSettings::getTheme

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

© 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!ThemeSettings.php/function/ThemeSettings::getTheme/8.1.x