class UnknownExtensionException

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

8 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
ModuleHandler.php in core/lib/Drupal/Core/Extension/ModuleHandler.php
ModuleHandlerTest.php in core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php
ThemeHandler.php in core/lib/Drupal/Core/Extension/ThemeHandler.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.