You are here

function Language::summary_name in Views (for Drupal 7) 8.3

Override the behavior of summary_name(). Get the user friendly version of the language.

Overrides ArgumentPluginBase::summary_name

File

lib/Views/language/Plugin/views/argument/Language.php, line 29
Definition of Views\language\Plugin\views\argument\Language.

Class

Language
Argument handler to accept a language.

Namespace

Views\language\Plugin\views\argument

Code

function summary_name($data) {
  return $this
    ->language($data->{$this->name_alias});
}