You are here

public function ThemeManagerInterface::hasActiveTheme in Drupal 9

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

Determines whether there is an active theme.

Return value

bool

1 method overrides ThemeManagerInterface::hasActiveTheme()
ThemeManager::hasActiveTheme in core/lib/Drupal/Core/Theme/ThemeManager.php
Determines whether there is an active theme.

File

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

Class

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

Namespace

Drupal\Core\Theme

Code

public function hasActiveTheme();