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