function Node::render
Same name in this branch
- 11.1.x vendor/mck89/peast/lib/Peast/Syntax/Node/Node.php \Peast\Syntax\Node\Node::render()
Overrides FieldPluginBase::render
1 method overrides Node::render()
- HistoryUserTimestamp::render in core/
modules/ history/ src/ Plugin/ views/ field/ HistoryUserTimestamp.php - Renders the field.
File
-
core/
modules/ node/ src/ Plugin/ views/ field/ Node.php, line 97
Class
- Node
- Field handler to provide simple renderer that allows linking to a node.
Namespace
Drupal\node\Plugin\views\fieldCode
public function render(ResultRow $values) {
$value = $this->getValue($values);
return $this->renderLink($this->sanitizeValue($value), $values);
}