Further modules included.
[yaffs-website] / web / modules / contrib / libraries / src / ExternalLibrary / Asset / AttachableAssetLibraryRegistrationInterface.php
1 <?php
2
3 namespace Drupal\libraries\ExternalLibrary\Asset;
4
5 use Drupal\libraries\ExternalLibrary\LibraryInterface;
6 use Drupal\libraries\ExternalLibrary\LibraryManagerInterface;
7
8 /**
9  * An interface for library types that want to react to library instantiation.
10  */
11 interface AttachableAssetLibraryRegistrationInterface {
12
13   /**
14    * Reacts to the instantiation of a library.
15    *
16    * @param \Drupal\libraries\ExternalLibrary\LibraryInterface $external_library
17    *   The library that is being instantiated.
18    * @param \Drupal\libraries\ExternalLibrary\LibraryManagerInterface $library_manager
19    */
20   public function getAttachableAssetLibraries(LibraryInterface $external_library, LibraryManagerInterface $library_manager);
21
22 }