You are here

protected function PasswordConfirm::defineDefaultProperties in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/Plugin/WebformElement/PasswordConfirm.php \Drupal\webform\Plugin\WebformElement\PasswordConfirm::defineDefaultProperties()

Define an element's default properties.

Return value

array An associative array contain an the element's default properties.

Overrides WebformElementBase::defineDefaultProperties

File

src/Plugin/WebformElement/PasswordConfirm.php, line 25

Class

PasswordConfirm
Provides a 'password_confirm' element.

Namespace

Drupal\webform\Plugin\WebformElement

Code

protected function defineDefaultProperties() {
  return [
    'wrapper_type' => 'fieldset',
  ] + parent::defineDefaultProperties();
}