public static function WebformCompositeBase::getCompositeElements in Webform 8.5
Same name in this branch
- 8.5 src/Element/WebformCompositeBase.php \Drupal\webform\Element\WebformCompositeBase::getCompositeElements()
- 8.5 src/Plugin/WebformElement/WebformCompositeBase.php \Drupal\webform\Plugin\WebformElement\WebformCompositeBase::getCompositeElements()
Same name and namespace in other branches
- 6.x src/Element/WebformCompositeBase.php \Drupal\webform\Element\WebformCompositeBase::getCompositeElements()
Get a renderable array of webform elements.
Parameters
array $element: A render array for the current element.
Return value
array A renderable array of webform elements, containing the base properties for the composite's webform elements.
Overrides WebformCompositeInterface::getCompositeElements
3 calls to WebformCompositeBase::getCompositeElements()
- WebformCompositeBase::initializeCompositeElements in src/
Element/ WebformCompositeBase.php - Initialize a composite's elements.
- WebformCompositeBase::validateWebformComposite in src/
Element/ WebformCompositeBase.php - Validates a composite element.
- WebformCompositeBase::valueCallback in src/
Element/ WebformCompositeBase.php - Determines how user input is mapped to an element's #value property.
9 methods override WebformCompositeBase::getCompositeElements()
- WebformAddress::getCompositeElements in src/
Element/ WebformAddress.php - Get a renderable array of webform elements.
- WebformContact::getCompositeElements in src/
Element/ WebformContact.php - Get a renderable array of webform elements.
- WebformExampleComposite::getCompositeElements in modules/
webform_example_composite/ src/ Element/ WebformExampleComposite.php - Get a renderable array of webform elements.
- WebformLink::getCompositeElements in src/
Element/ WebformLink.php - Get a renderable array of webform elements.
- WebformLocationBase::getCompositeElements in src/
Element/ WebformLocationBase.php - Get a renderable array of webform elements.
File
- src/
Element/ WebformCompositeBase.php, line 201
Class
- WebformCompositeBase
- Provides an base composite webform element.
Namespace
Drupal\webform\ElementCode
public static function getCompositeElements(array $element) {
return [];
}