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