3 namespace Drupal\libraries\ExternalLibrary\Type;
6 * Provides an interface for library types.
8 interface LibraryTypeInterface {
11 * Returns the ID of the library type.
14 * The library type ID.
16 public function getId();
19 * Returns the class used for libraries of this type.
21 * @return string|\Drupal\libraries\ExternalLibrary\LibraryInterface
22 * The library class for this library type.
24 * @todo Consider adding a getLibraryInterface() method, as well.
26 public function getLibraryClass();