You are here

public function YamlFormTableSort::getDefaultProperties in YAML Form 8

Only a few elements don't inherit these default properties.

Overrides OptionsBase::getDefaultProperties

See also

\Drupal\yamlform\Plugin\YamlFormElement\Textarea

\Drupal\yamlform\Plugin\YamlFormElement\YamlFormLikert

\Drupal\yamlform\Plugin\YamlFormElement\YamlFormCompositeBase

\Drupal\yamlform\Plugin\YamlFormElement\ContainerBase

File

src/Plugin/YamlFormElement/YamlFormTableSort.php, line 28

Class

YamlFormTableSort
Provides a 'yamlform_table_sort' element.

Namespace

Drupal\yamlform\Plugin\YamlFormElement

Code

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