protected function BooleanBase::defineDefaultProperties in Webform 8.5
Same name and namespace in other branches
- 6.x src/Plugin/WebformElement/BooleanBase.php \Drupal\webform\Plugin\WebformElement\BooleanBase::defineDefaultProperties()
Define an element's default properties.
Return value
array An associative array contain an the element's default properties.
Overrides WebformElementBase::defineDefaultProperties
1 call to BooleanBase::defineDefaultProperties()
- Checkbox::defineDefaultProperties in src/
Plugin/ WebformElement/ Checkbox.php - Define an element's default properties.
1 method overrides BooleanBase::defineDefaultProperties()
- Checkbox::defineDefaultProperties in src/
Plugin/ WebformElement/ Checkbox.php - Define an element's default properties.
File
- src/
Plugin/ WebformElement/ BooleanBase.php, line 18
Class
- BooleanBase
- Provides a base 'boolean' class.
Namespace
Drupal\webform\Plugin\WebformElementCode
protected function defineDefaultProperties() {
return [
'default_value' => FALSE,
'return_value' => '',
] + parent::defineDefaultProperties();
}