public function WebformExampleComposite::getInfo in Webform 8.5
Same name and namespace in other branches
- 6.x modules/webform_example_composite/src/Element/WebformExampleComposite.php \Drupal\webform_example_composite\Element\WebformExampleComposite::getInfo()
Returns the element properties for this element.
Return value
array An array of element properties. See \Drupal\Core\Render\ElementInfoManagerInterface::getInfo() for documentation of the standard properties of all elements, and the return value format.
Overrides WebformCompositeBase::getInfo
File
- modules/
webform_example_composite/ src/ Element/ WebformExampleComposite.php, line 28
Class
- WebformExampleComposite
- Provides a 'webform_example_composite'.
Namespace
Drupal\webform_example_composite\ElementCode
public function getInfo() {
return parent::getInfo() + [
'#theme' => 'webform_example_composite',
];
}