interface PhpFileLibraryInterface in Libraries API 8.3
Provides an interface for libraries with PHP files.
Hierarchy
- interface \Drupal\libraries\ExternalLibrary\LibraryInterface
- interface \Drupal\libraries\ExternalLibrary\Local\LocalLibraryInterface
- interface \Drupal\libraries\ExternalLibrary\PhpFile\PhpFileLibraryInterface
- interface \Drupal\libraries\ExternalLibrary\Local\LocalLibraryInterface
Expanded class hierarchy of PhpFileLibraryInterface
All classes that implement PhpFileLibraryInterface
See also
\Drupal\libraries\ExternalLibrary\PhpFile\PhpFileLoaderInterface
File
- src/
ExternalLibrary/ PhpFile/ PhpFileLibraryInterface.php, line 12
Namespace
Drupal\libraries\ExternalLibrary\PhpFileView source
interface PhpFileLibraryInterface extends LocalLibraryInterface {
/**
* Returns the PHP files of this library.
*
* @return string[]
* An array of absolute file paths of PHP files.
*/
public function getPhpFiles();
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
LibraryInterface:: |
public static | function | Creates an instance of the library from its definition. | 1 |
LibraryInterface:: |
public | function | Returns the ID of the library. | |
LibraryInterface:: |
public | function | Returns the library type of the library. | 1 |
LocalLibraryInterface:: |
public | function | Gets the local path to the library. | |
LocalLibraryInterface:: |
public | function | Gets the locator of this library using the locator factory. | 3 |
LocalLibraryInterface:: |
public | function | Checks whether the library is installed. | |
LocalLibraryInterface:: |
public | function | Sets the local path of the library. | |
LocalLibraryInterface:: |
public | function | Marks the library as uninstalled. | |
PhpFileLibraryInterface:: |
public | function | Returns the PHP files of this library. | 1 |