interface YamlFormLibrariesManagerInterface in YAML Form 8
Defines an interface for libraries classes.
Hierarchy
- interface \Drupal\yamlform\YamlFormLibrariesManagerInterface
Expanded class hierarchy of YamlFormLibrariesManagerInterface
All classes that implement YamlFormLibrariesManagerInterface
File
- src/
YamlFormLibrariesManagerInterface.php, line 8
Namespace
Drupal\yamlformView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
YamlFormLibrariesManagerInterface:: |
public | function | Get libraries. | 1 |
YamlFormLibrariesManagerInterface:: |
public | function | Get library information. | 1 |
YamlFormLibrariesManagerInterface:: |
public | function | Get third party libraries status for hook_requirements and drush. | 1 |