public function Select::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
1 call to Select::getDefaultProperties()
- YamlFormSelectOther::getDefaultProperties in src/
Plugin/ YamlFormElement/ YamlFormSelectOther.php - Only a few elements don't inherit these default properties.
1 method overrides Select::getDefaultProperties()
- YamlFormSelectOther::getDefaultProperties in src/
Plugin/ YamlFormElement/ YamlFormSelectOther.php - Only a few elements don't inherit these default properties.
File
- src/
Plugin/ YamlFormElement/ Select.php, line 23
Class
- Select
- Provides a 'select' element.
Namespace
Drupal\yamlform\Plugin\YamlFormElementCode
public function getDefaultProperties() {
return parent::getDefaultProperties() + [
// Options settings.
'multiple' => FALSE,
'empty_option' => '',
'empty_value' => '',
'select2' => FALSE,
];
}