You are here

protected function TokensFilterTrait::defineOptions in Tokens in Views Filter Criteria 8

See also

\Drupal\views\Plugin\views/PluginBase::defineOptions()

File

src/TokensFilterTrait.php, line 34

Class

TokensFilterTrait
Filter trait to use for filter plugins.

Namespace

Drupal\token_views_filter

Code

protected function defineOptions() {
  $options = parent::defineOptions();
  $options['use_tokens'] = [
    'default' => FALSE,
  ];
  return $options;
}