function TranslationLink::render

Overrides \Drupal\views\Plugin\views\field\FieldPluginBase::render().

Overrides FieldPluginBase::render

File

drupal/core/modules/translation_entity/lib/Drupal/translation_entity/Plugin/views/field/TranslationLink.php, line 47
Contains \Drupal\translation_entity\Plugin\views\field\TranslationLink.

Class

TranslationLink
Provides a translation link for an entity.

Namespace

Drupal\translation_entity\Plugin\views\field

Code

function render($values) {
  return $this
    ->render_link($this
    ->getEntity($values), $values);
}