You are here

protected function Email::defineDefaultProperties in Webform 6.x

Same name and namespace in other branches
  1. 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

Email
Provides a 'email' element.

Namespace

Drupal\webform\Plugin\WebformElement

Code

protected function defineDefaultProperties() {
  return [
    'input_hide' => FALSE,
  ] + parent::defineDefaultProperties() + $this
    ->defineDefaultMultipleProperties();
}