Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ThemeManagerInterface.php

function ThemeManagerInterface::resetActiveTheme

Resets the current active theme.

Note: This method should not be used in common cases, just in special cases like tests.

Return value

$this

1 method overrides ThemeManagerInterface::resetActiveTheme()
ThemeManager::resetActiveTheme in core/lib/Drupal/Core/Theme/ThemeManager.php
Resets the current active theme.

File

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

Class

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

Namespace

Drupal\Core\Theme

Code

public function resetActiveTheme();

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal