You are here

public function WebformCustomComposite::getCompositeElements in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/Plugin/WebformElement/WebformCustomComposite.php \Drupal\webform\Plugin\WebformElement\WebformCustomComposite::getCompositeElements()

Get composite element.

Return value

array An array of composite sub-elements or a specific composite sub element key.

Overrides WebformCompositeBase::getCompositeElements

File

src/Plugin/WebformElement/WebformCustomComposite.php, line 204

Class

WebformCustomComposite
Provides a custom composite element.

Namespace

Drupal\webform\Plugin\WebformElement

Code

public function getCompositeElements() {

  // Return empty array since composite (sub) elements are custom.
  return [];
}