ThemeManager::hasActiveTheme

public ThemeManager::hasActiveTheme()

Determines whether there is an active theme.

Return value

bool

Overrides ThemeManagerInterface::hasActiveTheme

File

core/lib/Drupal/Core/Theme/ThemeManager.php, line 104

Class

ThemeManager
Provides the default implementation of a theme manager.

Namespace

Drupal\Core\Theme

Code

public function hasActiveTheme() {
  return isset($this->activeTheme);
}
doc_Drupal
2016-10-29 09:48:15
Comments
Leave a Comment

Please login to continue.