You are here

protected function WebformEmailMultiple::defineDefaultProperties in Webform 6.x

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

Define an element's default properties.

Return value

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

Overrides Email::defineDefaultProperties

File

src/Plugin/WebformElement/WebformEmailMultiple.php, line 39

Class

WebformEmailMultiple
Provides a 'email_multiple' element.

Namespace

Drupal\webform\Plugin\WebformElement

Code

protected function defineDefaultProperties() {
  $properties = parent::defineDefaultProperties();
  unset($properties['multiple'], $properties['format_items'], $properties['format_items_html'], $properties['format_items_text']);
  return $properties;
}