protected function WebformAttachmentToken::defineDefaultProperties in Webform 8.5
Same name and namespace in other branches
- 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\WebformElementCode
protected function defineDefaultProperties() {
return [
'template' => '',
] + parent::defineDefaultProperties();
}