function RowPluginBase::render in Views (for Drupal 7) 8.3
Render a row object. This usually passes through to a theme template of some form, but not always.
Parameters
stdClass $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.
7 methods override RowPluginBase::render()
- Entity::render in lib/
Views/ system/ Plugin/ views/ row/ Entity.php - Overrides Drupal\views\Plugin\views\row\RowPluginBase::render().
- RowTest::render in tests/
views_test_data/ lib/ Drupal/ views_test_data/ Plugin/ views/ row/ RowTest.php - Overrides Drupal\views\Plugin\views\row\RowPluginBase::render()
- Rss::render in lib/
Views/ node/ Plugin/ views/ row/ Rss.php - Render a row object. This usually passes through to a theme template of some form, but not always.
- Rss::render in lib/
Views/ comment/ Plugin/ views/ row/ Rss.php - Render a row object. This usually passes through to a theme template of some form, but not always.
- Rss::render in lib/
Views/ aggregator/ Plugin/ views/ row/ Rss.php - Render a row object. This usually passes through to a theme template of some form, but not always.
File
- lib/
Drupal/ views/ Plugin/ views/ row/ RowPluginBase.php, line 161 - Definition of Drupal\views\Plugin\views\row\RowPluginBase.
Class
- RowPluginBase
- Default plugin to view a single row of a table. This is really just a wrapper around a theme function.
Namespace
Drupal\views\Plugin\views\rowCode
function render($row) {
return theme($this
->themeFunctions(), array(
'view' => $this->view,
'options' => $this->options,
'row' => $row,
'field_alias' => isset($this->field_alias) ? $this->field_alias : '',
));
}