function FieldPluginBase::render

Same name and namespace in other branches
  1. 11.x core/modules/views/src/Plugin/views/field/FieldPluginBase.php \Drupal\views\Plugin\views\field\FieldPluginBase::render()
  2. 10 core/modules/views/src/Plugin/views/field/FieldPluginBase.php \Drupal\views\Plugin\views\field\FieldPluginBase::render()
  3. 8.9.x core/modules/views/src/Plugin/views/field/FieldPluginBase.php \Drupal\views\Plugin\views\field\FieldPluginBase::render()
4 methods override FieldPluginBase::render()
DblogMessage::render in core/modules/dblog/src/Plugin/views/field/DblogMessage.php
Renders the field.
DblogOperations::render in core/modules/dblog/src/Plugin/views/field/DblogOperations.php
Renders the field.
File::render in core/modules/file/src/Plugin/views/field/File.php
Renders the field.
MediaLibrarySelectForm::render in core/modules/media_library/src/Plugin/views/field/MediaLibrarySelectForm.php
Renders the field.

File

core/modules/views/src/Plugin/views/field/FieldPluginBase.php, line 1127

Class

FieldPluginBase
Base class for views fields.

Namespace

Drupal\views\Plugin\views\field

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.