You are here

public function WebformAttachmentUrl::getInfo in Webform 8.5

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

Code

public function getInfo() {
  return parent::getInfo() + [
    '#url' => '',
  ];
}