class LibraryDefinitionMissingLicenseException

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

Defines a custom exception if a library has a remote but no license.

Hierarchy

Expanded class hierarchy of LibraryDefinitionMissingLicenseException

2 files declare their use of LibraryDefinitionMissingLicenseException
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/LibraryDefinitionMissingLicenseException.php, line 8

Namespace

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

}

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