Mercurial > hg > isophonics-drupal-site
comparison 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 |
comparison
equal
deleted
inserted
replaced
16:c2387f117808 | 17:129ea1e6d783 |
---|---|
20 * @return bool | 20 * @return bool |
21 * Whether any of the given themes have been installed. | 21 * Whether any of the given themes have been installed. |
22 * | 22 * |
23 * @throws \Drupal\Core\Extension\ExtensionNameLengthException | 23 * @throws \Drupal\Core\Extension\ExtensionNameLengthException |
24 * Thrown when the theme name is to long. | 24 * Thrown when the theme name is to long. |
25 * | |
26 * @throws \Drupal\Core\Extension\Exception\UnknownExtensionException | |
27 * Thrown when the theme does not exist. | |
25 */ | 28 */ |
26 public function install(array $theme_list, $install_dependencies = TRUE); | 29 public function install(array $theme_list, $install_dependencies = TRUE); |
27 | 30 |
28 /** | 31 /** |
29 * Uninstalls a given list of themes. | 32 * Uninstalls a given list of themes. |
32 * invokes the 'themes_uninstalled' hook. | 35 * invokes the 'themes_uninstalled' hook. |
33 * | 36 * |
34 * @param array $theme_list | 37 * @param array $theme_list |
35 * The themes to uninstall. | 38 * The themes to uninstall. |
36 * | 39 * |
40 * @throws \Drupal\Core\Extension\Exception\UnknownExtensionException | |
41 * Thrown when trying to uninstall a theme that was not installed. | |
42 * | |
37 * @throws \InvalidArgumentException | 43 * @throws \InvalidArgumentException |
38 * Thrown when you uninstall an not installed theme. | 44 * Thrown when trying to uninstall the default theme or the admin theme. |
39 * | 45 * |
40 * @see hook_themes_uninstalled() | 46 * @see hook_themes_uninstalled() |
41 */ | 47 */ |
42 public function uninstall(array $theme_list); | 48 public function uninstall(array $theme_list); |
43 | 49 |