You are here

interface AttachableAssetLibraryRegistrationInterface in Libraries API 8.3

An interface for library types that want to react to library instantiation.

Hierarchy

Expanded class hierarchy of AttachableAssetLibraryRegistrationInterface

All classes that implement AttachableAssetLibraryRegistrationInterface

3 files declare their use of AttachableAssetLibraryRegistrationInterface
AssetLibraryType.php in src/Plugin/libraries/Type/AssetLibraryType.php
libraries.module in ./libraries.module
External library handling for Drupal modules.
MultipleAssetLibraryType.php in src/Plugin/libraries/Type/MultipleAssetLibraryType.php

File

src/ExternalLibrary/Asset/AttachableAssetLibraryRegistrationInterface.php, line 11

Namespace

Drupal\libraries\ExternalLibrary\Asset
View source
interface AttachableAssetLibraryRegistrationInterface {

  /**
   * Reacts to the instantiation of a library.
   *
   * @param \Drupal\libraries\ExternalLibrary\LibraryInterface $external_library
   *   The library that is being instantiated.
   * @param \Drupal\libraries\ExternalLibrary\LibraryManagerInterface $library_manager
   */
  public function getAttachableAssetLibraries(LibraryInterface $external_library, LibraryManagerInterface $library_manager);

}

Members