You are here

public function ThemeExtensionList::reset in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Extension/ThemeExtensionList.php \Drupal\Core\Extension\ThemeExtensionList::reset()

Resets the stored extension list.

We don't reset statically added filenames, as it is a static cache which logically can't change. This is done for performance reasons of the installer.

Return value

$this

Overrides ExtensionList::reset

File

core/lib/Drupal/Core/Extension/ThemeExtensionList.php, line 316

Class

ThemeExtensionList
Provides a list of available themes.

Namespace

Drupal\Core\Extension

Code

public function reset() {
  parent::reset();
  $this->installedThemes = NULL;
  return $this;
}