protected function TableSelect::defineDefaultProperties in Webform 6.x
Same name and namespace in other branches
- 8.5 src/Plugin/WebformElement/TableSelect.php \Drupal\webform\Plugin\WebformElement\TableSelect::defineDefaultProperties()
Define an element's default properties.
Return value
array An associative array contain an the element's default properties.
Overrides OptionsBase::defineDefaultProperties
File
- src/
Plugin/ WebformElement/ TableSelect.php, line 23
Class
- TableSelect
- Provides a 'tableselect' element.
Namespace
Drupal\webform\Plugin\WebformElementCode
protected function defineDefaultProperties() {
return [
// Options settings.
'multiple' => TRUE,
'multiple_error' => '',
// Table settings.
'js_select' => TRUE,
] + parent::defineDefaultProperties();
}