You are here

public function SelectTranslation::adminSummary in Select translation 8

Returns admin summary of the filter options.

Overrides FilterPluginBase::adminSummary

File

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

Class

SelectTranslation
Views select translation filter handler.

Namespace

Drupal\select_translation\Plugin\views\filter

Code

public function adminSummary() {
  $options = [
    'original' => $this
      ->t('Original node language fallback'),
    'default' => $this
      ->t('Default site language fallback'),
    'list' => $this
      ->t('Custom language priority'),
  ];
  return $options[$this->value];
}