protected function WebformCompositeBase::defineDefaultMultipleProperties in Webform 6.x
Same name and namespace in other branches
- 8.5 src/Plugin/WebformElement/WebformCompositeBase.php \Drupal\webform\Plugin\WebformElement\WebformCompositeBase::defineDefaultMultipleProperties()
Define default multiple properties used by most elements.
Return value
array An associative array containing default multiple properties.
Overrides WebformElementBase::defineDefaultMultipleProperties
3 calls to WebformCompositeBase::defineDefaultMultipleProperties()
- Address::defineDefaultProperties in src/
Plugin/ WebformElement/ Address.php - Define an element's default properties.
- WebformCompositeBase::defineDefaultProperties in src/
Plugin/ WebformElement/ WebformCompositeBase.php - Define an element's default properties.
- WebformCustomComposite::defineDefaultMultipleProperties in src/
Plugin/ WebformElement/ WebformCustomComposite.php - Define default multiple properties used by most elements.
1 method overrides WebformCompositeBase::defineDefaultMultipleProperties()
- WebformCustomComposite::defineDefaultMultipleProperties in src/
Plugin/ WebformElement/ WebformCustomComposite.php - Define default multiple properties used by most elements.
File
- src/
Plugin/ WebformElement/ WebformCompositeBase.php, line 120
Class
- WebformCompositeBase
- Provides a base for composite elements.
Namespace
Drupal\webform\Plugin\WebformElementCode
protected function defineDefaultMultipleProperties() {
return [
'multiple__header' => FALSE,
'multiple__header_label' => '',
] + parent::defineDefaultMultipleProperties();
}