protected function Fieldset::defineDefaultProperties in Webform 8.5
Same name and namespace in other branches
- 6.x src/Plugin/WebformElement/Fieldset.php \Drupal\webform\Plugin\WebformElement\Fieldset::defineDefaultProperties()
Define an element's default properties.
Return value
array An associative array contain an the element's default properties.
Overrides ContainerBase::defineDefaultProperties
File
- src/
Plugin/ WebformElement/ Fieldset.php, line 21
Class
- Fieldset
- Provides a 'fieldset' element.
Namespace
Drupal\webform\Plugin\WebformElementCode
protected function defineDefaultProperties() {
return [
// Description/Help.
'help' => '',
'help_title' => '',
'help_display' => '',
'description' => '',
'more' => '',
'more_title' => '',
// Title.
'title_display' => '',
'description_display' => '',
] + parent::defineDefaultProperties();
}