public function WebformAttachmentTwig::getInfo in Webform 6.x
Same name and namespace in other branches
- 8.5 modules/webform_attachment/src/Element/WebformAttachmentTwig.php \Drupal\webform_attachment\Element\WebformAttachmentTwig::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 WebformAttachmentBase::getInfo
File
- modules/
webform_attachment/ src/ Element/ WebformAttachmentTwig.php, line 18
Class
- WebformAttachmentTwig
- Provides a 'webform_attachment_twig' element.
Namespace
Drupal\webform_attachment\ElementCode
public function getInfo() {
return parent::getInfo() + [
'#template' => '',
];
}