You are here

public function RowTest::render in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/views/tests/modules/views_test_data/src/Plugin/views/row/RowTest.php \Drupal\views_test_data\Plugin\views\row\RowTest::render()

Render a row object. This usually passes through to a theme template of some form, but not always.

Parameters

object $row: A single row of the query result, so an element of $view->result.

Return value

string The rendered output of a single row, used by the style plugin.

Overrides RowPluginBase::render

File

core/modules/views/tests/modules/views_test_data/src/Plugin/views/row/RowTest.php, line 81
Contains \Drupal\views_test_data\Plugin\views\row\RowTest.

Class

RowTest
Provides a general test row plugin.

Namespace

Drupal\views_test_data\Plugin\views\row

Code

public function render($row) {
  return $this
    ->getOutput();
}