You are here

protected function SelectTranslation::defineOptions in Select translation 8

Returns an array of filter option defaults.

Overrides FilterPluginBase::defineOptions

File

src/Plugin/views/filter/SelectTranslation.php, line 38

Class

SelectTranslation
Views select translation filter handler.

Namespace

Drupal\select_translation\Plugin\views\filter

Code

protected function defineOptions() {
  $options = parent::defineOptions();
  $options['value']['default'] = 'default';
  $options['priorities']['default'] = '';
  $options['default_language_only']['default'] = 0;
  $options['include_content_with_unpublished_translation']['default'] = 0;
  return $options;
}