You are here

protected function WebformAttachmentTwig::defineDefaultProperties in Webform 8.5

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

Class

WebformAttachmentTwig
Provides a 'webform_attachment_twig' element.

Namespace

Drupal\webform_attachment\Plugin\WebformElement

Code

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