You are here

public function ThemeInstallerInterface::uninstall in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Extension/ThemeInstallerInterface.php \Drupal\Core\Extension\ThemeInstallerInterface::uninstall()

Uninstalls a given list of themes.

Uninstalling a theme removes all related configuration (like blocks) and invokes the 'themes_uninstalled' hook.

Parameters

array $theme_list: The themes to uninstall.

Throws

\InvalidArgumentException Thrown when you uninstall an not installed theme.

See also

hook_themes_uninstalled()

1 method overrides ThemeInstallerInterface::uninstall()
ThemeInstaller::uninstall in core/lib/Drupal/Core/Extension/ThemeInstaller.php
Uninstalls a given list of themes.

File

core/lib/Drupal/Core/Extension/ThemeInstallerInterface.php, line 47
Contains \Drupal\Core\Extension\ThemeInstallerInterface.

Class

ThemeInstallerInterface
Manages theme installation/uninstallation.

Namespace

Drupal\Core\Extension

Code

public function uninstall(array $theme_list);