Views style plugins in Views (for Drupal 7) 8.3
Style plugins control how a view is rendered. For example, they can choose to display a collection of fields, node_view() output, table output, or any kind of crazy output they want.
Many style plugins can have an optional 'row' plugin, that displays a single record. Not all style plugins can utilize this, so it is up to the plugin to set this up and call through to the row plugin.
File
- lib/
Drupal/ views/ Plugin/ views/ style/ StylePluginBase.php, line 16 - Definition of Drupal\views\Plugin\views\style\StylePluginBase.
Classes
Name | Location | Description |
---|---|---|
DefaultStyle |
lib/ |
Unformatted style plugin to render rows one after another with no decorations. |
DefaultSummary |
lib/ |
The default style plugin for summaries. |
Grid |
lib/ |
Style plugin to render each item in a grid cell. |
HtmlList |
lib/ |
Style plugin to render each item in an ordered or unordered list. |
Mapping |
lib/ |
Allows fields to be mapped to specific use cases. |
MappingTest |
tests/ |
Provides a test plugin for the mapping style. |
Rss |
lib/ |
Default style plugin to render an RSS feed. |
StylePluginBase |
lib/ |
Base class to define a style plugin handler. |
StyleTest |
tests/ |
Provides a general test style plugin. |
Table |
lib/ |
Style plugin to render each item as a row in a table. |
UnformattedSummary |
lib/ |
The default style plugin for summaries. |