interface YamlFormAddonsManagerInterface in YAML Form 8
Defines an interface for form add-ons classes.
Hierarchy
- interface \Drupal\yamlform\YamlFormAddonsManagerInterface
Expanded class hierarchy of YamlFormAddonsManagerInterface
All classes that implement YamlFormAddonsManagerInterface
1 file declares its use of YamlFormAddonsManagerInterface
- YamlFormAddonsController.php in src/
Controller/ YamlFormAddonsController.php
File
- src/
YamlFormAddonsManagerInterface.php, line 8
Namespace
Drupal\yamlformView source
interface YamlFormAddonsManagerInterface {
/**
* Get add-on project information.
*
* @param string $name
* The name of the add-on project.
*
* @return array
* An associative array containing an add-on project.
*/
public function getProject($name);
/**
* Get add-on projects.
*
* @param string|null $category
* (optional) Category to filter project by.
*
* @return array
* An associative array of add-on projects.
*/
public function getProjects($category = NULL);
/**
* Get add-on projects that support third party settings.
*
* @return array
* An associative array containing add-on projects that support third party
* settings.
*/
public function getThirdPartySettings();
/**
* Get add-on categories.
*
* @return array
* An array of add-on categories.
*/
public function getCategories();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
YamlFormAddonsManagerInterface:: |
public | function | Get add-on categories. | 1 |
YamlFormAddonsManagerInterface:: |
public | function | Get add-on project information. | 1 |
YamlFormAddonsManagerInterface:: |
public | function | Get add-on projects. | 1 |
YamlFormAddonsManagerInterface:: |
public | function | Get add-on projects that support third party settings. | 1 |