
| Current Path : /var/www/html/c12park/web/modules/contrib/webform/src/Plugin/WebformElement/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html/c12park/web/modules/contrib/webform/src/Plugin/WebformElement/Search.php |
<?php
namespace Drupal\webform\Plugin\WebformElement;
/**
* Provides a 'search' element.
*
* @WebformElement(
* id = "search",
* api = "https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Render!Element!Search.php/class/Search",
* label = @Translation("Search"),
* description = @Translation("Provides form element for entering a search phrase."),
* category = @Translation("Advanced elements"),
* )
*/
class Search extends TextBase {
/**
* {@inheritdoc}
*/
protected function defineDefaultProperties() {
$properties = parent::defineDefaultProperties();
unset(
$properties['format_items'],
$properties['format_items_html'],
$properties['format_items_text']
);
return $properties;
}
}