You are here

public function Search::init in Zircon Profile 8

Same name in this branch
  1. 8 core/modules/search/src/Plugin/views/filter/Search.php \Drupal\search\Plugin\views\filter\Search::init()
  2. 8 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.0 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 41
Contains \Drupal\search\Plugin\views\argument\Search.

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'];
}