You are here

protected function YamlFormLocation::getCompositeElements in YAML Form 8

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

Get composite elements.

Return value

array An array of composite elements.

Overrides YamlFormCompositeBase::getCompositeElements

3 calls to YamlFormLocation::getCompositeElements()
YamlFormLocation::buildCompositeElementsTable in src/Plugin/YamlFormElement/YamlFormLocation.php
Build the composite elements settings table.
YamlFormLocation::getDefaultProperties in src/Plugin/YamlFormElement/YamlFormLocation.php
Only a few elements don't inherit these default properties.
YamlFormLocation::prepare in src/Plugin/YamlFormElement/YamlFormLocation.php
Prepare an element to be rendered within a form.

File

src/Plugin/YamlFormElement/YamlFormLocation.php, line 29

Class

YamlFormLocation
Provides an 'location' element.

Namespace

Drupal\yamlform\Plugin\YamlFormElement

Code

protected function getCompositeElements() {
  return YamlFormLocationElement::getCompositeElements();
}