Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / lib / Drupal / Core / Extension / ThemeInstallerInterface.php
index ad80762ed1cbf6342b6b8d1fd921cb7ecdf532a7..ae79b505ea1800000caebc207f237a983385d737 100644 (file)
@@ -22,6 +22,9 @@ interface ThemeInstallerInterface {
    *
    * @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 @@ interface ThemeInstallerInterface {
    * @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()
    */