Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Node.php

function Node::render

Same name in this branch
  1. 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\field

Code

public function render(ResultRow $values) {
    $value = $this->getValue($values);
    return $this->renderLink($this->sanitizeValue($value), $values);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal