protected function WebformTableSelectSort::defineDefaultProperties in Webform 8.5
Same name and namespace in other branches
- 6.x src/Plugin/WebformElement/WebformTableSelectSort.php \Drupal\webform\Plugin\WebformElement\WebformTableSelectSort::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/ WebformTableSelectSort.php, line 27
Class
- WebformTableSelectSort
- Provides a 'webform_tableselect_sort' element.
Namespace
Drupal\webform\Plugin\WebformElementCode
protected function defineDefaultProperties() {
return [
'multiple' => TRUE,
'multiple_error' => '',
// Table settings.
'js_select' => TRUE,
] + parent::defineDefaultProperties();
}