You are here

public function MultipleAssetLibraryInterface::getAttachableAssetLibraries in Libraries API 8.3

Returns a core asset library array structure for this library.

@todo Document the return value. @todo Reconsider passing the library manager.

Parameters

\Drupal\libraries\ExternalLibrary\LibraryManagerInterface $library_manager: The library manager that can be used to fetch dependencies.

Return value

array

Throws

\Drupal\libraries\ExternalLibrary\Exception\InvalidLibraryDependencyException

See also

\Drupal\libraries\ExternalLibrary\Asset\SingleAssetLibraryTrait

1 method overrides MultipleAssetLibraryInterface::getAttachableAssetLibraries()
MultipleAssetLibrary::getAttachableAssetLibraries in src/ExternalLibrary/Asset/MultipleAssetLibrary.php
Returns a core library array structure for this library.

File

src/ExternalLibrary/Asset/MultipleAssetLibraryInterface.php, line 62

Class

MultipleAssetLibraryInterface
Provides an interface for external asset libraries with multiple libraries.

Namespace

Drupal\libraries\ExternalLibrary\Asset

Code

public function getAttachableAssetLibraries(LibraryManagerInterface $library_manager);