You are here

public function CshsTaxonomyIndex::getSetting 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::getSetting()
  2. 8.2 src/Plugin/views/filter/CshsTaxonomyIndex.php \Drupal\cshs\Plugin\views\filter\CshsTaxonomyIndex::getSetting()

Returns the value of a setting, or its default value if absent.

Parameters

string $key: The setting name.

Return value

mixed The setting value.

Overrides CshsOptionsFromHelper::getSetting

File

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

Class

CshsTaxonomyIndex
Common implementation for "CshsTaxonomyIndex" plugin.

Namespace

Drupal\cshs\Plugin\views\filter

Code

public function getSetting($key) {
  return $this->options[$key] ?? NULL;
}