You are here

public function WebformComposite::getCompositeElements in Webform Composite Tools 8

Same name in this branch
  1. 8 src/Element/WebformComposite.php \Drupal\webform_composite\Element\WebformComposite::getCompositeElements()
  2. 8 src/Plugin/WebformElement/WebformComposite.php \Drupal\webform_composite\Plugin\WebformElement\WebformComposite::getCompositeElements()

Get composite element.

Return value

array An array of composite sub-elements.

Overrides WebformCompositeBase::getCompositeElements

File

src/Plugin/WebformElement/WebformComposite.php, line 94

Class

WebformComposite
Provides an Global Composite base.

Namespace

Drupal\webform_composite\Plugin\WebformElement

Code

public function getCompositeElements() {
  return $this
    ->getCompositeDefinition()
    ->getElementsDecoded();
}