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