function drush_theme_uninstall

8.0.x environment.inc drush_theme_uninstall($themes)
7.x environment.inc drush_theme_uninstall($themes)
master environment.inc drush_theme_uninstall($themes)

Uninstall a list of themes.

Parameters

$themes: Array of theme names

See also

\Drupal\Core\Extension\ThemeHandlerInterface::uninstall()

1 call to drush_theme_uninstall()
_drush_pm_uninstall in commands/core/drupal/pm_8.inc
Command callback. Uninstall one or more extensions.

File

commands/core/drupal/environment.inc, line 307
Specific functions for a drupal 8+ environment. drush_include_engine() magically includes either this file or environment_X.inc depending on which version of drupal Drush is called from.

Code

function drush_theme_uninstall($themes) {
  \Drupal::service('theme_handler')->uninstall($themes);
  // Our logger got blown away during the container rebuild above.
  $boot = drush_select_bootstrap_class();
  $boot->add_logger();
}