You are here

public function LibraryDiscoveryInterface::getLibrariesByExtension in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Asset/LibraryDiscoveryInterface.php \Drupal\Core\Asset\LibraryDiscoveryInterface::getLibrariesByExtension()

Gets all libraries defined by an extension.

Parameters

string $extension: The name of the extension that registered a library.

Return value

array An associative array of libraries registered by $extension is returned (which may be empty).

See also

self::getLibraryByName()

1 method overrides LibraryDiscoveryInterface::getLibrariesByExtension()
LibraryDiscovery::getLibrariesByExtension in core/lib/Drupal/Core/Asset/LibraryDiscovery.php
Gets all libraries defined by an extension.

File

core/lib/Drupal/Core/Asset/LibraryDiscoveryInterface.php, line 37
Contains \Drupal\Core\Asset\LibraryDiscoveryInterface.

Class

LibraryDiscoveryInterface
Discovers information for asset (CSS/JavaScript) libraries.

Namespace

Drupal\Core\Asset

Code

public function getLibrariesByExtension($extension);