function 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\argumentCode
public function init(ViewExecutable $view, DisplayPluginBase $display, array &$options = NULL) {
parent::init($view, $display, $options);
$this->searchType = $this->definition['search_type'];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.