Unverified Commit b9f132b7 authored by Lee Rowlands's avatar Lee Rowlands
Browse files

Issue #2969190 by manish.upadhyay, ranjith_kumar_k_u, Neslee Canil Pinto,...

Issue #2969190 by manish.upadhyay, ranjith_kumar_k_u, Neslee Canil Pinto, mtodor, joachim: Change ModuleInstallerInterface::uninstall() method doc comment that ModuleUninstallValidatorException can be thrown
parent a9fbf270
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -37,6 +37,10 @@ interface ModuleInstallerInterface {
   * @throws \Drupal\Core\Extension\MissingDependencyException
   *   Thrown when a requested module, or a dependency of one, can not be found.
   *
   * @throws \Drupal\Core\Extension\ExtensionNameLengthException
   *   Thrown when the extension's name is longer than
   *   DRUPAL_EXTENSION_NAME_MAX_LENGTH.
   *
   * @see hook_module_preinstall()
   * @see hook_install()
   * @see hook_modules_installed()
@@ -56,6 +60,9 @@ public function install(array $module_list, $enable_dependencies = TRUE);
   * @return bool
   *   FALSE if one or more dependencies are missing, TRUE otherwise.
   *
   * @throws \Drupal\Core\Extension\ModuleUninstallValidatorException
   *   Thrown when validation prevented the module from being uninstalled.
   *
   * @see hook_module_preuninstall()
   * @see hook_uninstall()
   * @see hook_modules_uninstalled()