You are here

public function PhpFileLibraryType::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.

Overrides LibraryTypeInterface::getLibraryClass

File

src/Plugin/libraries/Type/PhpFileLibraryType.php, line 57

Class

PhpFileLibraryType
Plugin annotation @LibraryType("php_file");

Namespace

Drupal\libraries\Plugin\libraries\Type

Code

public function getLibraryClass() {
  return PhpFileLibrary::class;
}