class UnknownExtensionException

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Extension/Exception/UnknownExtensionException.php \Drupal\Core\Extension\Exception\UnknownExtensionException
  2. 10 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

13 files declare their use of UnknownExtensionException
ExtensionList.php in core/lib/Drupal/Core/Extension/ExtensionList.php
ExtensionListTest.php in core/tests/Drupal/Tests/Core/Extension/ExtensionListTest.php
ExtensionPathResolver.php in core/lib/Drupal/Core/Extension/ExtensionPathResolver.php
ExtensionPathResolverTest.php in core/tests/Drupal/KernelTests/Core/Bootstrap/ExtensionPathResolverTest.php
ModuleHandler.php in core/lib/Drupal/Core/Extension/ModuleHandler.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.