You are here

protected function WebformComputedTwig::defineDefaultProperties in Webform 6.x

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

Define an element's default properties.

Return value

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

Overrides WebformComputedBase::defineDefaultProperties

File

src/Plugin/WebformElement/WebformComputedTwig.php, line 24

Class

WebformComputedTwig
Provides a 'webform_computed_twig' element.

Namespace

Drupal\webform\Plugin\WebformElement

Code

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