protected function Search::defineDefaultProperties in Webform 8.5
Same name and namespace in other branches
- 6.x 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\WebformElementCode
protected function defineDefaultProperties() {
$properties = parent::defineDefaultProperties();
unset($properties['format_items'], $properties['format_items_html'], $properties['format_items_text']);
return $properties;
}