function Language::render in Views (for Drupal 7) 8.3
Same name in this branch
- 8.3 lib/Views/node/Plugin/views/field/Language.php \Views\node\Plugin\views\field\Language::render()
- 8.3 lib/Views/user/Plugin/views/field/Language.php \Views\user\Plugin\views\field\Language::render()
- 8.3 lib/Views/language/Plugin/views/field/Language.php \Views\language\Plugin\views\field\Language::render()
- 8.3 lib/Views/taxonomy/Plugin/views/field/Language.php \Views\taxonomy\Plugin\views\field\Language::render()
Render the field.
Parameters
$values: The values retrieved from the database.
Overrides User::render
File
- lib/
Views/ user/ Plugin/ views/ field/ Language.php, line 44 - Definition of Views\user\Plugin\views\field\Language.
Class
- Language
- Views field handler for user language.
Namespace
Views\user\Plugin\views\fieldCode
function render($values) {
$value = $this
->get_value($values);
return $this
->render_link($this
->sanitizeValue($value), $values);
}