Views module

Documentation for the Drupal 8/9/10 core Views module.

Views overview

Using the Drupal 8 core Views module, you can fetch content from the database of your site and present it to the user.

Add a contextual filter to a view

You can configure a view so that it is filtered dynamically, depending on the context. For example, you could use a contextual filter to add

Add a display to a view

You can add one or more displays to a view. Each display is a variation of the view. For example, you could start with a view that shows a

Add a field to a view

Use filters if you need to further refine the criteria that determines which content to display in the view.

Add a filter to a view

Add a filter to a view

Add a relationship to a view

When you first create a view you select the base table from options such as Comments, Content, and Taxonomy terms. This cannot be changed

Configure Views for debugging

Configure views for debugging in the advanced settings.

Create a simple block view

Views allows you to create listings of data on your site as blocks which can be placed in regions on your site.

Create a simple page view

Customize the output style of a view field or list

You can customize the HTML and CSS for a view. You can also enable or disable the default CSS classes.

Disable Views caching

By default, Views caches data for tables, modules and available views. You can disable caching, but note that this can have a serious

Expose a filter to site visitors

Your view can expose a filter to your site visitors, allowing them to interact with the data in the view.

Give a custom name to a field in the Views edit screen

Sometimes a view can use the same field in several different ways. To avoid confusion on the Views Edit screen, you can give each use of the

Give a custom name to a filter in the Views Edit screen

Sometimes a view can use the same filter in several different ways. To avoid confusion on the Views Edit screen, you can give each use of

Manage display settings for the Views configuration screen

Manage display settings for the Views configuration screen

Manage your views collection

You can enable, disable, duplicate and delete a view.

Rewrite the output of a view field

You can configure a field in a view to display information that is different from the actual data in the field. By using tokens, you can

The Views UI module

(This page is a stub!)

Tags

Guide maintainers

eojthebrave's picture