You are here

public static function WebformCompositeBase::getCompositeElements in Webform 6.x

Same name in this branch
  1. 6.x src/Element/WebformCompositeBase.php \Drupal\webform\Element\WebformCompositeBase::getCompositeElements()
  2. 6.x src/Plugin/WebformElement/WebformCompositeBase.php \Drupal\webform\Plugin\WebformElement\WebformCompositeBase::getCompositeElements()
Same name and namespace in other branches
  1. 8.5 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.

... See full list

File

src/Element/WebformCompositeBase.php, line 201

Class

WebformCompositeBase
Provides an base composite webform element.

Namespace

Drupal\webform\Element

Code

public static function getCompositeElements(array $element) {
  return [];
}