public function AttachableAssetLibraryRegistrationInterface::getAttachableAssetLibraries in Libraries API 8.3
Reacts to the instantiation of a library.
Parameters
\Drupal\libraries\ExternalLibrary\LibraryInterface $external_library: The library that is being instantiated.
\Drupal\libraries\ExternalLibrary\LibraryManagerInterface $library_manager:
2 methods override AttachableAssetLibraryRegistrationInterface::getAttachableAssetLibraries()
- AssetLibraryType::getAttachableAssetLibraries in src/
Plugin/ libraries/ Type/ AssetLibraryType.php - Reacts to the instantiation of a library.
- MultipleAssetLibraryType::getAttachableAssetLibraries in src/
Plugin/ libraries/ Type/ MultipleAssetLibraryType.php - Reacts to the instantiation of a library.
File
- src/
ExternalLibrary/ Asset/ AttachableAssetLibraryRegistrationInterface.php, line 20
Class
- AttachableAssetLibraryRegistrationInterface
- An interface for library types that want to react to library instantiation.
Namespace
Drupal\libraries\ExternalLibrary\AssetCode
public function getAttachableAssetLibraries(LibraryInterface $external_library, LibraryManagerInterface $library_manager);