Guide

Views in Drupal for Drupal 8, 9, and 10

What will you learn

  • Adding and configuring filter and sort criteria to refine and order view results
  • Exposing filter and sort criteria to users for interactive filtering and sorting
  • Using relationships to connect related data in views
  • Implementing contextual filters for dynamic content filtering
  • Theming views and overriding view templates
  • Introduction to the Views API and its components
  • Understanding the Views build and render cycle
  • Defining custom Views plugins

Overview

Learn about the advanced filtering features of Views, customizing the output, and giving users control over filter criteria.

Drupal's Views API provides the ability to extend and customize the Views module, expose new data to Views, and enable the creation of complex and tailored data displays by defining new field types, filters, and sorting criteria.

This guide contains tutorials that will teach you how to create custom dynamic lists of your site's content using the Views UI module. If you're new to Views, walk through Chapter 9 of the Drupal User Guide to get up-to-speed with the basics:

Courses

Views UI

This course assumes you’re already familiar with the basics of what Views are and how they work. The tutorials in this course cover advanced features of the Views module, including adding and configuring filter and sort criteria, exposing these criteria to users, and using relationships and contextual filters to refine the data displayed. Additionally, you will learn how to theme Views using template files.

Views API in Drupal

This course covers the basics of the Views API, including how to interact with Views using hooks and plugins. You will learn how to alter views before and after they are rendered, modify the queries used by views, and expose custom data to views. Additionally, the course will delve into creating custom Views plugins, such as field handlers, pseudo fields, filters, and more.

“Drupalize.Me has trained thousands of Drupalistas. Their video lessons help to address our constant need for more Drupal talent. Drupal needs training like this to support its growth.”
Dries Buytaert
Drupal Founder and Project Lead
Photo of Dries Buytaert
“They’re easy to understand. They’re thorough. They’re funny. They’re always entertaining, and it makes it easy to learn parts of Drupal and how you can integrate it into your workflow and learn more and have a good time doing it.”
Roger Carr
Drupalize.Me Member
Photo of Roger Carr
“The mission of the Drupal Association is to foster and support the Drupal software project, the community, and its growth. Drupal education, like that provided by Drupalize.Me, is important to this mission.”
Megan Sanicki
Former Exec. Director, Drupal Assoc.
Photo of Megan Sanicki

FAQs

Am I required to sign a contract?
No. You can purchase a membership and/or cancel any time. Drupalize.Me is a pay-as-you-go service.

Can I preview tutorials before joining?
Yes! Just navigate to our tutorial library. Our free tutorials are labeled with a green "FREE" tag.

Can I watch videos on my mobile device?
Yes! Drupalize.Me is a responsive site and can be accessed in the browser on any mobile device. More FAQs