interface WebformCompositeInterface in Webform 8.5
Same name and namespace in other branches
- 6.x src/Element/WebformCompositeInterface.php \Drupal\webform\Element\WebformCompositeInterface
Defines an interface for webform composite element.
Hierarchy
- interface \Drupal\webform\Element\WebformCompositeInterface
Expanded class hierarchy of WebformCompositeInterface
All classes that implement WebformCompositeInterface
File
- src/
Element/ WebformCompositeInterface.php, line 8
Namespace
Drupal\webform\ElementView source
interface WebformCompositeInterface {
/**
* Get a renderable array of webform elements.
*
* @param array $element
* A render array for the current element.
*
* @return array
* A renderable array of webform elements, containing the base properties
* for the composite's webform elements.
*/
public static function getCompositeElements(array $element);
/**
* Initialize a composite's elements.
*
* @param array $element
* A render array for the current element.
*
* @return array
* A renderable array of webform elements, containing the base properties
* for the composite's webform elements.
*/
public static function initializeCompositeElements(array &$element);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
WebformCompositeInterface:: |
public static | function | Get a renderable array of webform elements. | 1 |
WebformCompositeInterface:: |
public static | function | Initialize a composite's elements. | 1 |