3 namespace Drupal\libraries\ExternalLibrary\Local;
6 * Provides an interface for library locators.
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.
12 interface LocatorInterface {
17 * @param \Drupal\libraries\ExternalLibrary\Local\LocalLibraryInterface $library
18 * The library to locate.
20 public function locate(LocalLibraryInterface $library);