You are here

interface PhpFileLibraryInterface in Libraries API 8.3

Provides an interface for libraries with PHP files.

Hierarchy

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\PhpFile
View 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

Namesort descending Modifiers Type Description Overrides
LibraryInterface::create public static function Creates an instance of the library from its definition. 1
LibraryInterface::getId public function Returns the ID of the library.
LibraryInterface::getType public function Returns the library type of the library. 1
LocalLibraryInterface::getLocalPath public function Gets the local path to the library.
LocalLibraryInterface::getLocator public function Gets the locator of this library using the locator factory. 3
LocalLibraryInterface::isInstalled public function Checks whether the library is installed.
LocalLibraryInterface::setLocalPath public function Sets the local path of the library.
LocalLibraryInterface::setUninstalled public function Marks the library as uninstalled.
PhpFileLibraryInterface::getPhpFiles public function Returns the PHP files of this library. 1