Views row plugins
Same name in other branches
- 9 core/modules/views/src/Plugin/views/row/RowPluginBase.php \Drupal\views\Plugin\views\row\views_row_plugins
- 8.9.x core/modules/views/src/Plugin/views/row/RowPluginBase.php \Drupal\views\Plugin\views\row\views_row_plugins
- 11.x core/modules/views/src/Plugin/views/row/RowPluginBase.php \Drupal\views\Plugin\views\row\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 attributed with \Drupal\views\Attribute\ViewsRow attribute, and they must be in namespace directory Plugin\views\row.
See also
Parent topics
File
-
core/
modules/ views/ src/ Plugin/ views/ row/ RowPluginBase.php, line 9
Classes
Title Sort descending | File name | Summary |
---|---|---|
DataEntityRow | core/ |
Plugin which displays entities as raw data. |
DataFieldRow | core/ |
Plugin which displays fields as raw data. |
EntityReference | core/ |
EntityReference row plugin. |
Fields | core/ |
The basic 'fields' row plugin. |
NodeRow | core/ |
Plugin which performs a node_view on the resulting object. |
RowPluginBase | core/ |
Base class for Views row plugins. |
RowTest | core/ |
Provides a general test row plugin. |
UserRow | core/ |
A row plugin which renders a user. |
ViewsEntityRow | core/ |
Provides views row plugin definitions for all non-special entity types. |
ViewsRow | core/ |
Defines a ViewsRow attribute for plugin discovery. |
ViewsRow | core/ |
Defines a Plugin annotation object for views row plugins. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.