You are here

public function CshsTaxonomyIndex::init in Client-side Hierarchical Select 8

Same name and namespace in other branches
  1. 8.3 src/Plugin/views/filter/CshsTaxonomyIndex.php \Drupal\cshs\Plugin\views\filter\CshsTaxonomyIndex::init()
  2. 8.2 src/Plugin/views/filter/CshsTaxonomyIndex.php \Drupal\cshs\Plugin\views\filter\CshsTaxonomyIndex::init()

File

src/Plugin/views/filter/CshsTaxonomyIndex.php, line 36

Class

CshsTaxonomyIndex
Common implementation for "CshsTaxonomyIndex" plugin.

Namespace

Drupal\cshs\Plugin\views\filter

Code

public function init(ViewExecutable $view, DisplayPluginBase $display, array &$options = NULL) : void {
  $options['value'] = isset($options['value']) ? (array) $options['value'] : [];
  parent::init($view, $display, $options);
}