public function LibraryTypeInterface::getLibraryClass in Libraries API 8.3
Returns the class used for libraries of this type.
@todo Consider adding a getLibraryInterface() method, as well.
Return value
string|\Drupal\libraries\ExternalLibrary\LibraryInterface The library class for this library type.
3 methods override LibraryTypeInterface::getLibraryClass()
- AssetLibraryType::getLibraryClass in src/
Plugin/ libraries/ Type/ AssetLibraryType.php - Returns the class used for libraries of this type.
- MultipleAssetLibraryType::getLibraryClass in src/
Plugin/ libraries/ Type/ MultipleAssetLibraryType.php - Returns the class used for libraries of this type.
- PhpFileLibraryType::getLibraryClass in src/
Plugin/ libraries/ Type/ PhpFileLibraryType.php - Returns the class used for libraries of this type.
File
- src/
ExternalLibrary/ Type/ LibraryTypeInterface.php, line 26
Class
- LibraryTypeInterface
- Provides an interface for library types.
Namespace
Drupal\libraries\ExternalLibrary\TypeCode
public function getLibraryClass();