You are here

protected function Search::defineDefaultProperties in Webform 6.x

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

Define an element's default properties.

Return value

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

Overrides TextBase::defineDefaultProperties

File

src/Plugin/WebformElement/Search.php, line 21

Class

Search
Provides a 'search' element.

Namespace

Drupal\webform\Plugin\WebformElement

Code

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