class ModuleUninstallValidatorException

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Extension/ModuleUninstallValidatorException.php \Drupal\Core\Extension\ModuleUninstallValidatorException
  2. 10 core/lib/Drupal/Core/Extension/ModuleUninstallValidatorException.php \Drupal\Core\Extension\ModuleUninstallValidatorException
  3. 11.x core/lib/Drupal/Core/Extension/ModuleUninstallValidatorException.php \Drupal\Core\Extension\ModuleUninstallValidatorException

Defines an exception thrown when uninstalling a module that did not validate.

Hierarchy

Expanded class hierarchy of ModuleUninstallValidatorException

4 files declare their use of ModuleUninstallValidatorException
CommentUninstallTest.php in core/modules/comment/tests/src/Kernel/CommentUninstallTest.php
InstallProfileDependenciesTest.php in core/tests/Drupal/FunctionalTests/Installer/InstallProfileDependenciesTest.php
ModuleHandlerTest.php in core/modules/system/tests/src/Kernel/Extension/ModuleHandlerTest.php
ThemeInstallerTest.php in core/tests/Drupal/KernelTests/Core/Theme/ThemeInstallerTest.php

File

core/lib/Drupal/Core/Extension/ModuleUninstallValidatorException.php, line 8

Namespace

Drupal\Core\Extension
View source
class ModuleUninstallValidatorException extends \InvalidArgumentException {

}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.