protected function Email::defineDefaultProperties in Webform 6.x
Same name and namespace in other branches
- 8.5 src/Plugin/WebformElement/Email.php \Drupal\webform\Plugin\WebformElement\Email::defineDefaultProperties()
Define an element's default properties.
Return value
array An associative array contain an the element's default properties.
Overrides TextBase::defineDefaultProperties
2 calls to Email::defineDefaultProperties()
- WebformEmailConfirm::defineDefaultProperties in src/
Plugin/ WebformElement/ WebformEmailConfirm.php - Define an element's default properties.
- WebformEmailMultiple::defineDefaultProperties in src/
Plugin/ WebformElement/ WebformEmailMultiple.php - Define an element's default properties.
2 methods override Email::defineDefaultProperties()
- WebformEmailConfirm::defineDefaultProperties in src/
Plugin/ WebformElement/ WebformEmailConfirm.php - Define an element's default properties.
- WebformEmailMultiple::defineDefaultProperties in src/
Plugin/ WebformElement/ WebformEmailMultiple.php - Define an element's default properties.
File
- src/
Plugin/ WebformElement/ Email.php, line 40
Class
- Provides a 'email' element.
Namespace
Drupal\webform\Plugin\WebformElementCode
protected function defineDefaultProperties() {
return [
'input_hide' => FALSE,
] + parent::defineDefaultProperties() + $this
->defineDefaultMultipleProperties();
}