You are here

public function WebformCustomComposite::getCompositeElements in Webform 8.5

Same name and namespace in other branches
  1. 6.x 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 209

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 [];
}