public function Search::init in Drupal 8
Same name in this branch
- 8 core/modules/search/src/Plugin/views/filter/Search.php \Drupal\search\Plugin\views\filter\Search::init()
- 8 core/modules/search/src/Plugin/views/argument/Search.php \Drupal\search\Plugin\views\argument\Search::init()
Same name and namespace in other branches
- 9 core/modules/search/src/Plugin/views/argument/Search.php \Drupal\search\Plugin\views\argument\Search::init()
Overrides Drupal\views\Plugin\views\HandlerBase:init().
Overrides ArgumentPluginBase::init
File
- core/
modules/ search/ src/ Plugin/ views/ argument/ Search.php, line 38
Class
- Search
- Argument handler for search keywords.
Namespace
Drupal\search\Plugin\views\argumentCode
public function init(ViewExecutable $view, DisplayPluginBase $display, array &$options = NULL) {
parent::init($view, $display, $options);
$this->searchType = $this->definition['search_type'];
}