public function WebformCompositeBase::getCompositeElements in Webform 6.x
Same name in this branch
- 6.x src/Element/WebformCompositeBase.php \Drupal\webform\Element\WebformCompositeBase::getCompositeElements()
- 6.x src/Plugin/WebformElement/WebformCompositeBase.php \Drupal\webform\Plugin\WebformElement\WebformCompositeBase::getCompositeElements()
Same name and namespace in other branches
- 8.5 src/Plugin/WebformElement/WebformCompositeBase.php \Drupal\webform\Plugin\WebformElement\WebformCompositeBase::getCompositeElements()
Get composite element.
Return value
array An array of composite sub-elements or a specific composite sub element key.
7 calls to WebformCompositeBase::getCompositeElements()
- WebformCompositeBase::buildCompositeElementsTable in src/
Plugin/ WebformElement/ WebformCompositeBase.php - Build the composite elements settings table.
- WebformCompositeBase::defineDefaultProperties in src/
Plugin/ WebformElement/ WebformCompositeBase.php - Define an element's default properties.
- WebformCompositeBase::prepareMultipleWrapper in src/
Plugin/ WebformElement/ WebformCompositeBase.php - Set multiple element wrapper.
- WebformLocationBase::buildCompositeElementsTable in src/
Plugin/ WebformElement/ WebformLocationBase.php - Build the composite elements settings table.
- WebformLocationBase::defineDefaultProperties in src/
Plugin/ WebformElement/ WebformLocationBase.php - Define an element's default properties.
2 methods override WebformCompositeBase::getCompositeElements()
- Address::getCompositeElements in src/
Plugin/ WebformElement/ Address.php - Get composite element.
- WebformCustomComposite::getCompositeElements in src/
Plugin/ WebformElement/ WebformCustomComposite.php - Get composite element.
File
- src/
Plugin/ WebformElement/ WebformCompositeBase.php, line 1313
Class
- WebformCompositeBase
- Provides a base for composite elements.
Namespace
Drupal\webform\Plugin\WebformElementCode
public function getCompositeElements() {
$class = $this
->getFormElementClassDefinition();
return $class::getCompositeElements([]);
}