class IncompleteLibraryDefinitionException

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

Defines a custom exception if a library has no CSS/JS/JS setting specified.

Hierarchy

Expanded class hierarchy of IncompleteLibraryDefinitionException

2 files declare their use of IncompleteLibraryDefinitionException
LibraryDiscoveryParser.php in core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php
LibraryDiscoveryParserTest.php in core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php

File

core/lib/Drupal/Core/Asset/Exception/IncompleteLibraryDefinitionException.php, line 8

Namespace

Drupal\Core\Asset\Exception
View source
class IncompleteLibraryDefinitionException extends \RuntimeException {

}

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