protected function WebformHeight::defineDefaultProperties in Webform 8.5
Same name and namespace in other branches
- 6.x src/Plugin/WebformElement/WebformHeight.php \Drupal\webform\Plugin\WebformElement\WebformHeight::defineDefaultProperties()
Define an element's default properties.
Return value
array An associative array contain an the element's default properties.
Overrides WebformElementBase::defineDefaultProperties
File
- src/
Plugin/ WebformElement/ WebformHeight.php, line 27
Class
- WebformHeight
- Provides a 'height' element.
Namespace
Drupal\webform\Plugin\WebformElementCode
protected function defineDefaultProperties() {
return [
'height_type' => 'number',
'height_format' => '',
'feet__min' => 0,
'feet__max' => 8,
] + parent::defineDefaultProperties() + $this
->defineDefaultMultipleProperties();
}