class UnknownExtensionException

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

Exception class thrown when a specified extension is not on the filesystem.

Hierarchy

  • class \Drupal\Core\Extension\Exception\UnknownExtensionException extends \Drupal\Core\Extension\Exception\InvalidArgumentException

Expanded class hierarchy of UnknownExtensionException

19 files declare their use of UnknownExtensionException
CategorizingPluginManagerTrait.php in core/lib/Drupal/Core/Plugin/CategorizingPluginManagerTrait.php
CategorizingPluginManagerTraitTest.php in core/tests/Drupal/Tests/Core/Plugin/CategorizingPluginManagerTraitTest.php
DatabaseDriverList.php in core/lib/Drupal/Core/Extension/DatabaseDriverList.php
DatabaseTest.php in core/tests/Drupal/Tests/Core/Database/DatabaseTest.php
DriverModuleMissingDependenciesTest.php in core/tests/Drupal/Tests/Core/Database/DriverModuleMissingDependenciesTest.php

... See full list

File

core/lib/Drupal/Core/Extension/Exception/UnknownExtensionException.php, line 8

Namespace

Drupal\Core\Extension\Exception
View source
class UnknownExtensionException extends \InvalidArgumentException {

}

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