Further modules included.
[yaffs-website] / web / modules / contrib / libraries / src / ExternalLibrary / Type / LibraryTypeInterface.php
1 <?php
2
3 namespace Drupal\libraries\ExternalLibrary\Type;
4
5 /**
6  * Provides an interface for library types.
7  */
8 interface LibraryTypeInterface {
9
10   /**
11    * Returns the ID of the library type.
12    *
13    * @return string
14    *   The library type ID.
15    */
16   public function getId();
17
18   /**
19    * Returns the class used for libraries of this type.
20    *
21    * @return string|\Drupal\libraries\ExternalLibrary\LibraryInterface
22    *   The library class for this library type.
23    *
24    * @todo Consider adding a getLibraryInterface() method, as well.
25    */
26   public function getLibraryClass();
27
28 }