You are here

public function BlazyViewsFieldPluginBase::render in Blazy 8.2

Same name and namespace in other branches
  1. 8 src/Plugin/views/field/BlazyViewsFieldPluginBase.php \Drupal\blazy\Plugin\views\field\BlazyViewsFieldPluginBase::render()
  2. 7 src/Plugin/views/field/BlazyViewsFieldPluginBase.php \Drupal\blazy\Plugin\views\field\BlazyViewsFieldPluginBase::render()

Renders the field.

Parameters

\Drupal\views\ResultRow $values: The values retrieved from a single row of a view's query result.

Return value

string|\Drupal\Component\Render\MarkupInterface The rendered output. If the output is safe it will be wrapped in an object that implements MarkupInterface. If it is empty or unsafe it will be a string.

Overrides FieldPluginBase::render

2 methods override BlazyViewsFieldPluginBase::render()
BlazyViewsFieldFile::render in src/Plugin/views/field/BlazyViewsFieldFile.php
Renders the field.
BlazyViewsFieldMedia::render in src/Plugin/views/field/BlazyViewsFieldMedia.php
Renders the field.

File

src/Plugin/views/field/BlazyViewsFieldPluginBase.php, line 101

Class

BlazyViewsFieldPluginBase
Defines a base views field plugin to render a preview of supported fields.

Namespace

Drupal\blazy\Plugin\views\field

Code

public function render(ResultRow $values) {
  return [];
}