You are here

public function Search::init in Drupal 9

Same name in this branch
  1. 9 core/modules/search/src/Plugin/views/filter/Search.php \Drupal\search\Plugin\views\filter\Search::init()
  2. 9 core/modules/search/src/Plugin/views/argument/Search.php \Drupal\search\Plugin\views\argument\Search::init()
Same name and namespace in other branches
  1. 8 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 37

Class

Search
Argument handler for search keywords.

Namespace

Drupal\search\Plugin\views\argument

Code

public function init(ViewExecutable $view, DisplayPluginBase $display, array &$options = NULL) {
  parent::init($view, $display, $options);
  $this->searchType = $this->definition['search_type'];
}