function ThemeManagerInterface::hasActiveTheme

Same name in other branches
  1. 9 core/lib/Drupal/Core/Theme/ThemeManagerInterface.php \Drupal\Core\Theme\ThemeManagerInterface::hasActiveTheme()
  2. 8.9.x core/lib/Drupal/Core/Theme/ThemeManagerInterface.php \Drupal\Core\Theme\ThemeManagerInterface::hasActiveTheme()
  3. 11.x core/lib/Drupal/Core/Theme/ThemeManagerInterface.php \Drupal\Core\Theme\ThemeManagerInterface::hasActiveTheme()

Determines whether there is an active theme.

Return value

bool

File

core/lib/Drupal/Core/Theme/ThemeManagerInterface.php, line 47

Class

ThemeManagerInterface
Provides a high level access to the active theme and methods to use it.

Namespace

Drupal\Core\Theme

Code

public function hasActiveTheme();

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