public function TextField::getDefaultProperties in YAML Form 8
Only a few elements don't inherit these default properties.
Overrides TextBase::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 TextField::getDefaultProperties()
- YamlFormAutocomplete::getDefaultProperties in src/
Plugin/ YamlFormElement/ YamlFormAutocomplete.php - Only a few elements don't inherit these default properties.
1 method overrides TextField::getDefaultProperties()
- YamlFormAutocomplete::getDefaultProperties in src/
Plugin/ YamlFormElement/ YamlFormAutocomplete.php - Only a few elements don't inherit these default properties.
File
- src/
Plugin/ YamlFormElement/ TextField.php, line 22
Class
- TextField
- Provides a 'textfield' element.
Namespace
Drupal\yamlform\Plugin\YamlFormElementCode
public function getDefaultProperties() {
return parent::getDefaultProperties() + [
// Form display.
'input_mask' => '',
// Form validation.
'counter_type' => '',
'counter_maximum' => '',
'counter_message' => '',
];
}