protected function listLanguages($flags = LanguageInterface::STATE_ALL, array
$current_values = NULL
) { $manager = \Drupal::
languageManager();
$languages =
$manager->
getLanguages($flags);
$list =
[];
// The entity languages should come first, if requested.
if ($flags & PluginBase::INCLUDE_ENTITY
) { $list['***LANGUAGE_entity_translation***'
] =
$this->
t('Content language of view row'
);
$list['***LANGUAGE_entity_default***'
] =
$this->
t('Original language of content in view row'
);
} // STATE_SITE_DEFAULT comes in with ID set
// to LanguageInterface::LANGCODE_SITE_DEFAULT.
// Since this is not a real language, surround it by '***LANGUAGE_...***',