class ModuleUninstallValidatorException

Same name in other branches
  1. 8.9.x 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

6 files declare their use of ModuleUninstallValidatorException
CommentUninstallTest.php in core/modules/comment/tests/src/Kernel/CommentUninstallTest.php
InstallerNonDefaultDatabaseDriverTest.php in core/tests/Drupal/FunctionalTests/Installer/InstallerNonDefaultDatabaseDriverTest.php
InstallerTest.php in core/tests/Drupal/FunctionalTests/Installer/InstallerTest.php
InstallProfileDependenciesTest.php in core/tests/Drupal/FunctionalTests/Installer/InstallProfileDependenciesTest.php
ModuleHandlerTest.php in core/modules/system/tests/src/Kernel/Extension/ModuleHandlerTest.php

... See full list

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.