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