You are here

public function ThemeManager::hasActiveTheme in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Theme/ThemeManager.php \Drupal\Core\Theme\ThemeManager::hasActiveTheme()

Determines whether there is an active theme.

Return value

bool

Overrides ThemeManagerInterface::hasActiveTheme

File

core/lib/Drupal/Core/Theme/ThemeManager.php, line 110
Contains \Drupal\Core\Theme\ThemeManager.

Class

ThemeManager
Provides the default implementation of a theme manager.

Namespace

Drupal\Core\Theme

Code

public function hasActiveTheme() {
  return isset($this->activeTheme);
}