function RowTest::render
Same name and namespace in other branches
- 11.x core/modules/views/tests/modules/views_test_data/src/Plugin/views/row/RowTest.php \Drupal\views_test_data\Plugin\views\row\RowTest::render()
- 10 core/modules/views/tests/modules/views_test_data/src/Plugin/views/row/RowTest.php \Drupal\views_test_data\Plugin\views\row\RowTest::render()
- 9 core/modules/views/tests/modules/views_test_data/src/Plugin/views/row/RowTest.php \Drupal\views_test_data\Plugin\views\row\RowTest::render()
- 8.9.x core/modules/views/tests/modules/views_test_data/src/Plugin/views/row/RowTest.php \Drupal\views_test_data\Plugin\views\row\RowTest::render()
Creates a render array for a row object.
This usually passes through to a theme template of some form, but not always.
Parameters
\Drupal\views\ResultRow $row: A single row of the query result, so an element of $view->result.
Return value
array The render array for 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 80
Class
- RowTest
- Provides a general test row plugin.
Namespace
Drupal\views_test_data\Plugin\views\rowCode
public function render($row) {
return $this->getOutput();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.