function Node::render
Same name in other branches
- 8.9.x core/modules/node/src/Plugin/views/field/Node.php \Drupal\node\Plugin\views\field\Node::render()
- 10 core/modules/node/src/Plugin/views/field/Node.php \Drupal\node\Plugin\views\field\Node::render()
- 11.x core/modules/node/src/Plugin/views/field/Node.php \Drupal\node\Plugin\views\field\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);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.