You are here

public static function YamlFormCompositeBase::getCompositeElements in YAML Form 8

Same name in this branch
  1. 8 src/Element/YamlFormCompositeBase.php \Drupal\yamlform\Element\YamlFormCompositeBase::getCompositeElements()
  2. 8 src/Plugin/YamlFormElement/YamlFormCompositeBase.php \Drupal\yamlform\Plugin\YamlFormElement\YamlFormCompositeBase::getCompositeElements()

Get a renderable array of form elements.

Return value

array A renderable array of form elements, containing the base properties for the composite's form elements.

3 calls to YamlFormCompositeBase::getCompositeElements()
YamlFormCompositeBase::processYamlFormComposite in src/Element/YamlFormCompositeBase.php
Processes a composite form element.
YamlFormCompositeBase::validateYamlFormComposite in src/Element/YamlFormCompositeBase.php
Validates a composite element.
YamlFormCompositeBase::valueCallback in src/Element/YamlFormCompositeBase.php
Determines how user input is mapped to an element's #value property.
4 methods override YamlFormCompositeBase::getCompositeElements()
YamlFormAddress::getCompositeElements in src/Element/YamlFormAddress.php
Get a renderable array of form elements.
YamlFormCreditCard::getCompositeElements in src/Element/YamlFormCreditCard.php
Get a renderable array of form elements.
YamlFormLocation::getCompositeElements in src/Element/YamlFormLocation.php
Get a renderable array of form elements.
YamlFormName::getCompositeElements in src/Element/YamlFormName.php
Get a renderable array of form elements.

File

src/Element/YamlFormCompositeBase.php, line 67

Class

YamlFormCompositeBase
Provides an base composite form element.

Namespace

Drupal\yamlform\Element

Code

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