public ThemeHandlerInterface::uninstall(array $theme_list)
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.
Deprecated
in Drupal 8.0.x-dev and will be removed before Drupal 9.0.0. Use the theme_installer service instead.
See also
\Drupal\Core\Extension\ThemeInstallerInterface::uninstall
File
- core/lib/Drupal/Core/Extension/ThemeHandlerInterface.php, line 52
Class
- ThemeHandlerInterface
- Manages the list of available themes.
Namespace
Drupal\Core\Extension
Code
public function uninstall(array $theme_list);
Please login to continue.