Views style plugins

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

drupal/core/modules/views/lib/Drupal/views/Plugin/views/style/StylePluginBase.php, line 16
Definition of Drupal\views\Plugin\views\style\StylePluginBase.

Classes

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