You are here

protected function WebformAttachmentToken::defineDefaultProperties in Webform 8.5

Same name and namespace in other branches
  1. 6.x modules/webform_attachment/src/Plugin/WebformElement/WebformAttachmentToken.php \Drupal\webform_attachment\Plugin\WebformElement\WebformAttachmentToken::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/WebformAttachmentToken.php, line 22

Class

WebformAttachmentToken
Provides a 'webform_attachment_token' element.

Namespace

Drupal\webform_attachment\Plugin\WebformElement

Code

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