You are here

interface YamlFormLibrariesManagerInterface in YAML Form 8

Defines an interface for libraries classes.

Hierarchy

Expanded class hierarchy of YamlFormLibrariesManagerInterface

All classes that implement YamlFormLibrariesManagerInterface

File

src/YamlFormLibrariesManagerInterface.php, line 8

Namespace

Drupal\yamlform
View source
interface YamlFormLibrariesManagerInterface {

  /**
   * Get third party libraries status for hook_requirements and drush.
   *
   * @return array
   *    An associative array of third party libraries keyed by library name.
   */
  public function requirements();

  /**
   * Get library information.
   *
   * @param string $name
   *   The name of the library.
   *
   * @return array
   *   An associative array containing an library.
   */
  public function getLibrary($name);

  /**
   * Get libraries.
   *
   * @return array
   *   An associative array of libraries.
   */
  public function getLibraries();

}

Members

Namesort descending Modifiers Type Description Overrides
YamlFormLibrariesManagerInterface::getLibraries public function Get libraries. 1
YamlFormLibrariesManagerInterface::getLibrary public function Get library information. 1
YamlFormLibrariesManagerInterface::requirements public function Get third party libraries status for hook_requirements and drush. 1