public function DateBase::getDefaultProperties in YAML Form 8
Only a few elements don't inherit these default properties.
Overrides YamlFormElementBase::getDefaultProperties
See also
\Drupal\yamlform\Plugin\YamlFormElement\Textarea
\Drupal\yamlform\Plugin\YamlFormElement\YamlFormLikert
\Drupal\yamlform\Plugin\YamlFormElement\YamlFormCompositeBase
\Drupal\yamlform\Plugin\YamlFormElement\ContainerBase
3 calls to DateBase::getDefaultProperties()
- Date::getDefaultProperties in src/
Plugin/ YamlFormElement/ Date.php - Only a few elements don't inherit these default properties.
- DateList::getDefaultProperties in src/
Plugin/ YamlFormElement/ DateList.php - Only a few elements don't inherit these default properties.
- DateTime::getDefaultProperties in src/
Plugin/ YamlFormElement/ DateTime.php - Only a few elements don't inherit these default properties.
3 methods override DateBase::getDefaultProperties()
- Date::getDefaultProperties in src/
Plugin/ YamlFormElement/ Date.php - Only a few elements don't inherit these default properties.
- DateList::getDefaultProperties in src/
Plugin/ YamlFormElement/ DateList.php - Only a few elements don't inherit these default properties.
- DateTime::getDefaultProperties in src/
Plugin/ YamlFormElement/ DateTime.php - Only a few elements don't inherit these default properties.
File
- src/
Plugin/ YamlFormElement/ DateBase.php, line 19
Class
- DateBase
- Provides a base 'date' class.
Namespace
Drupal\yamlform\Plugin\YamlFormElementCode
public function getDefaultProperties() {
return [
// Form validation.
'min' => '',
'max' => '',
] + parent::getDefaultProperties();
}