Loading core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php +12 −0 Original line number Diff line number Diff line Loading @@ -107,6 +107,18 @@ public function __construct($root, ModuleHandlerInterface $module_handler, Theme * Thrown when a library has no js/css/setting. * @throws \UnexpectedValueException * Thrown when a js file defines a positive weight. * @throws \UnknownExtensionTypeException * Thrown when the extension type is unknown. * @throws \UnknownExtensionException * Thrown when the extension is unknown. * @throws \InvalidLibraryFileException * Thrown when the library file is invalid. * @throws \InvalidLibrariesOverrideSpecificationException * Thrown when a definition refers to a non-existent library. * @throws \Drupal\Core\Asset\Exception\LibraryDefinitionMissingLicenseException * Thrown when a library definition has no license information. * @throws \LogicException * Thrown when a header key in a library definition is invalid. */ public function buildByExtension($extension) { if ($extension === 'core') { Loading Loading
core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php +12 −0 Original line number Diff line number Diff line Loading @@ -107,6 +107,18 @@ public function __construct($root, ModuleHandlerInterface $module_handler, Theme * Thrown when a library has no js/css/setting. * @throws \UnexpectedValueException * Thrown when a js file defines a positive weight. * @throws \UnknownExtensionTypeException * Thrown when the extension type is unknown. * @throws \UnknownExtensionException * Thrown when the extension is unknown. * @throws \InvalidLibraryFileException * Thrown when the library file is invalid. * @throws \InvalidLibrariesOverrideSpecificationException * Thrown when a definition refers to a non-existent library. * @throws \Drupal\Core\Asset\Exception\LibraryDefinitionMissingLicenseException * Thrown when a library definition has no license information. * @throws \LogicException * Thrown when a header key in a library definition is invalid. */ public function buildByExtension($extension) { if ($extension === 'core') { Loading