You are here

protected function WebformTableSelectSort::defineDefaultProperties in Webform 6.x

Same name and namespace in other branches
  1. 8.5 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\WebformElement

Code

protected function defineDefaultProperties() {
  return [
    'multiple' => TRUE,
    'multiple_error' => '',
    // Table settings.
    'js_select' => TRUE,
  ] + parent::defineDefaultProperties();
}