You are here

protected function WebformAttachmentUrl::defineDefaultProperties in Webform 6.x

Same name and namespace in other branches
  1. 8.5 modules/webform_attachment/src/Plugin/WebformElement/WebformAttachmentUrl.php \Drupal\webform_attachment\Plugin\WebformElement\WebformAttachmentUrl::defineDefaultProperties()

Define an element's default properties.

Return value

array An associative array contain an the element's default properties.

Overrides WebformAttachmentBase::defineDefaultProperties

File

modules/webform_attachment/src/Plugin/WebformElement/WebformAttachmentUrl.php, line 24

Class

WebformAttachmentUrl
Provides a 'webform_attachment_url' element.

Namespace

Drupal\webform_attachment\Plugin\WebformElement

Code

protected function defineDefaultProperties() {
  return [
    'url' => '',
  ] + parent::defineDefaultProperties();
}