You are here

function FieldPluginBase::render in Views (for Drupal 7) 8.3

Render the field.

Parameters

$values: The values retrieved from the database.

1 call to FieldPluginBase::render()
FieldPluginBase::advanced_render in lib/Drupal/views/Plugin/views/field/FieldPluginBase.php
Render a field using advanced settings.
39 methods override FieldPluginBase::render()
AccesslogPath::render in lib/Views/statistics/Plugin/views/field/AccesslogPath.php
Render the field.
Boolean::render in lib/Drupal/views/Plugin/views/field/Boolean.php
Render the field.
Category::render in lib/Views/aggregator/Plugin/views/field/Category.php
Render the field.
Comment::render in lib/Views/comment/Plugin/views/field/Comment.php
Render the field.
ContextualLinks::render in lib/Drupal/views/Plugin/views/field/ContextualLinks.php
Render the contextual fields.

... See full list

File

lib/Drupal/views/Plugin/views/field/FieldPluginBase.php, line 1096
Definition of Drupal\views\Plugin\views\field\FieldPluginBase.

Class

FieldPluginBase
Base field handler that has no options and renders an unformatted field.

Namespace

Drupal\views\Plugin\views\field

Code

function render($values) {
  $value = $this
    ->get_value($values);
  return $this
    ->sanitizeValue($value);
}