public function TableSelect::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/ TableSelect.php, line 24
Class
- TableSelect
- Provides a 'tableselect' element.
Namespace
Drupal\yamlform\Plugin\YamlFormElementCode
public function getDefaultProperties() {
return parent::getDefaultProperties() + [
// Options settings.
'multiple' => TRUE,
// Table settings.
'js_select' => TRUE,
];
}