class MissingDependencyException

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

Exception class to throw when modules are missing on install.

Hierarchy

Expanded class hierarchy of MissingDependencyException

See also

\Drupal\Core\Extension\ModuleInstaller::install()

5 files declare their use of MissingDependencyException
FunctionalTestSetupTrait.php in core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php
ModuleHandlerTest.php in core/modules/system/tests/src/Kernel/Extension/ModuleHandlerTest.php
ModuleInstallerTest.php in core/tests/Drupal/KernelTests/Core/Extension/ModuleInstallerTest.php
ThemeController.php in core/modules/system/src/Controller/ThemeController.php
ThemeInstallerTest.php in core/tests/Drupal/KernelTests/Core/Theme/ThemeInstallerTest.php

File

core/lib/Drupal/Core/Extension/MissingDependencyException.php, line 10

Namespace

Drupal\Core\Extension
View source
class MissingDependencyException extends \Exception {

}

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