You are here

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

Namesort descending Location Description
DefaultStyle lib/Drupal/views/Plugin/views/style/DefaultStyle.php Unformatted style plugin to render rows one after another with no decorations.
DefaultSummary lib/Drupal/views/Plugin/views/style/DefaultSummary.php The default style plugin for summaries.
Grid lib/Drupal/views/Plugin/views/style/Grid.php Style plugin to render each item in a grid cell.
HtmlList lib/Drupal/views/Plugin/views/style/HtmlList.php Style plugin to render each item in an ordered or unordered list.
Mapping lib/Drupal/views/Plugin/views/style/Mapping.php Allows fields to be mapped to specific use cases.
MappingTest tests/views_test_data/lib/Drupal/views_test_data/Plugin/views/style/MappingTest.php Provides a test plugin for the mapping style.
Rss lib/Drupal/views/Plugin/views/style/Rss.php Default style plugin to render an RSS feed.
StylePluginBase lib/Drupal/views/Plugin/views/style/StylePluginBase.php Base class to define a style plugin handler.
StyleTest tests/views_test_data/lib/Drupal/views_test_data/Plugin/views/style/StyleTest.php Provides a general test style plugin.
Table lib/Drupal/views/Plugin/views/style/Table.php Style plugin to render each item as a row in a table.
UnformattedSummary lib/Drupal/views/Plugin/views/style/UnformattedSummary.php The default style plugin for summaries.