Further modules included.
[yaffs-website] / web / modules / contrib / libraries / src / ExternalLibrary / Local / LocatorInterface.php
1 <?php
2
3 namespace Drupal\libraries\ExternalLibrary\Local;
4
5 /**
6  * Provides an interface for library locators.
7  *
8  * Because determining the installation status and library path of a library
9  * is not specific to any library or even any library type, this logic can be
10  * implemented generically in form of a locator.
11  */
12 interface LocatorInterface {
13
14   /**
15    * Locates a library.
16    *
17    * @param \Drupal\libraries\ExternalLibrary\Local\LocalLibraryInterface $library
18    *   The library to locate.
19    */
20   public function locate(LocalLibraryInterface $library);
21
22 }