You are here

public function YamlFormEmailConfirm::getDefaultProperties in YAML Form 8

Only a few elements don't inherit these default properties.

Overrides Email::getDefaultProperties

See also

\Drupal\yamlform\Plugin\YamlFormElement\Textarea

\Drupal\yamlform\Plugin\YamlFormElement\YamlFormLikert

\Drupal\yamlform\Plugin\YamlFormElement\YamlFormCompositeBase

\Drupal\yamlform\Plugin\YamlFormElement\ContainerBase

File

src/Plugin/YamlFormElement/YamlFormEmailConfirm.php, line 22

Class

YamlFormEmailConfirm
Provides a 'email_confirm' element.

Namespace

Drupal\yamlform\Plugin\YamlFormElement

Code

public function getDefaultProperties() {
  return parent::getDefaultProperties() + [
    // Email confirm settings.
    'confirm__title' => '',
    'confirm__description' => '',
    'confirm__placeholder' => '',
  ];
}