Mercurial > hg > isophonics-drupal-site
diff core/lib/Drupal/Core/Extension/ThemeInstallerInterface.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | 4c8ae668cc8c |
children |
line wrap: on
line diff
--- a/core/lib/Drupal/Core/Extension/ThemeInstallerInterface.php Tue Jul 10 15:07:59 2018 +0100 +++ b/core/lib/Drupal/Core/Extension/ThemeInstallerInterface.php Thu Feb 28 13:21:36 2019 +0000 @@ -22,6 +22,9 @@ * * @throws \Drupal\Core\Extension\ExtensionNameLengthException * Thrown when the theme name is to long. + * + * @throws \Drupal\Core\Extension\Exception\UnknownExtensionException + * Thrown when the theme does not exist. */ public function install(array $theme_list, $install_dependencies = TRUE); @@ -34,8 +37,11 @@ * @param array $theme_list * The themes to uninstall. * + * @throws \Drupal\Core\Extension\Exception\UnknownExtensionException + * Thrown when trying to uninstall a theme that was not installed. + * * @throws \InvalidArgumentException - * Thrown when you uninstall an not installed theme. + * Thrown when trying to uninstall the default theme or the admin theme. * * @see hook_themes_uninstalled() */