function LinkEdit::render in Views (for Drupal 7) 8.3
Same name in this branch
- 8.3 lib/Views/locale/Plugin/views/field/LinkEdit.php \Views\locale\Plugin\views\field\LinkEdit::render()
- 8.3 lib/Views/taxonomy/Plugin/views/field/LinkEdit.php \Views\taxonomy\Plugin\views\field\LinkEdit::render()
Render the field.
Parameters
$values: The values retrieved from the database.
Overrides FieldPluginBase::render
File
- lib/
Views/ locale/ Plugin/ views/ field/ LinkEdit.php, line 62 - Definition of Views\locale\Plugin\views\field\LinkEdit.
Class
- LinkEdit
- Field handler to present a link to edit a translation.
Namespace
Views\locale\Plugin\views\fieldCode
function render($values) {
$value = $this
->get_value($values, 'lid');
return $this
->render_link($this
->sanitizeValue($value), $values);
}