Views row plugins in Drupal 9
Same name and namespace in other branches
- 8 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 annotated with \Drupal\views\Annotation\ViewsRow annotation, 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
Name | Location | Description |
---|---|---|
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 Plugin annotation object for views row plugins. |