A view is a listing of content on a website. The Views module handles the display of views, and the Views UI module allows you to create and edit them in the administrative interface. When you define views, you are taking data from your website and displaying it to the user.
Example tasks
You can create views to output practically any content entity that is stored in the system. For example, you can create the following lists using various display output for a farmers’ market site:
- Vendors as a table
- Recipes in a grid
- The most recent content on the site as a bulleted list
Confidence
We have high confidence in resources related to Views UI and the Views API are stable in Drupal core and is unlikely to change significantly.
Drupalize.Me resources
Drupal 7
External resources
- Views module (Drupal.org)
- Official documentation for the Drupal core Views module.
Views API
- Views API overview (api.drupal.org)
- Overview of the Views module API.
- Building Views Query Plugins for Drupal 8, Part 1 (lullabot.com)
- Learn how to use a Views Query Plugin to use data from an external API in Drupal.
- Building Views Query Plugins for Drupal 8, Part 2 (lullabot.com)
- Learn how to build field plugins, filter plugins, and relationship plugins to expose custom data to the Views module