You are here

protected function WebformTableSort::defineDefaultProperties in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/Plugin/WebformElement/WebformTableSort.php \Drupal\webform\Plugin\WebformElement\WebformTableSort::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/WebformTableSort.php, line 29

Class

WebformTableSort
Provides a 'webform_table_sort' element.

Namespace

Drupal\webform\Plugin\WebformElement

Code

protected function defineDefaultProperties() {
  $properties = parent::defineDefaultProperties();
  unset($properties['options_randomize']);
  return $properties;
}