1. 8.5.x core/modules/views/src/Plugin/views/row/RowPluginBase.php views_row_plugins
  2. 8.0.x core/modules/views/src/Plugin/views/row/RowPluginBase.php views_row_plugins
  3. 8.1.x core/modules/views/src/Plugin/views/row/RowPluginBase.php views_row_plugins
  4. 8.2.x core/modules/views/src/Plugin/views/row/RowPluginBase.php views_row_plugins
  5. 8.3.x core/modules/views/src/Plugin/views/row/RowPluginBase.php views_row_plugins
  6. 8.4.x core/modules/views/src/Plugin/views/row/RowPluginBase.php views_row_plugins
  7. 8.6.x core/modules/views/src/Plugin/views/row/RowPluginBase.php views_row_plugins

Plugins that control how Views outputs an individual record.

Row plugins handle rendering each individual record from the view results. For instance, a row plugin could render fields, render an entire entity in a particular view mode, or render the raw data from the results.

Row plugins are used by some (but not all) style plugins. They are not activated unless the style plugin sets them up. See the Views style plugins topic for more information.

Row plugins extend \Drupal\views\Plugin\views\row\RowPluginBase. They must be annotated with \Drupal\views\Annotation\ViewsRow annotation, and they must be in namespace directory Plugin\views\row.

See also

Plugin API

Parent topics

File

core/modules/views/src/Plugin/views/row/RowPluginBase.php, line 9

Classes

Namesort descending Location Description
DataEntityRow core/modules/rest/src/Plugin/views/row/DataEntityRow.php Plugin which displays entities as raw data.
DataFieldRow core/modules/rest/src/Plugin/views/row/DataFieldRow.php Plugin which displays fields as raw data.
EntityReference core/modules/views/src/Plugin/views/row/EntityReference.php EntityReference row plugin.
Fields core/modules/views/src/Plugin/views/row/Fields.php The basic 'fields' row plugin
NodeRow core/modules/node/src/Plugin/views/row/NodeRow.php Plugin which performs a node_view on the resulting object.
RowPluginBase core/modules/views/src/Plugin/views/row/RowPluginBase.php Base class for Views row plugins.
RowTest core/modules/views/tests/modules/views_test_data/src/Plugin/views/row/RowTest.php Provides a general test row plugin.
UserRow core/modules/user/src/Plugin/views/row/UserRow.php A row plugin which renders a user.
ViewsEntityRow core/modules/views/src/Plugin/Derivative/ViewsEntityRow.php Provides views row plugin definitions for all non-special entity types.
ViewsRow core/modules/views/src/Annotation/ViewsRow.php Defines a Plugin annotation object for views row plugins.