Release Day: Views for Developers

10 years ago we released the first tutorials in our Drupal 7 Coding for Views Series. Today we're super excited to release the first 8 tutorials in our new Views for Developers series, a Drupal 8+ update to Coding for Views.

Views continues to be an essential part of the Drupal ecosystem. And many of the patterns it established both in the UI and the code have helped to inform the modern Drupal developer experience. Since becoming part of Drupal core, Views has become even more integrated into every aspect of Drupal. As a developer, mastering the Views API allows you to empower site administrators to display and query your module's custom data using the full power of the Views UI.

When you expose your data and custom logic to Views, you allow site administrators to mix, match, and remix that data in any number of different ways--often without you needing to write any new code yourself. This can make your custom code easier to maintain, and increase its usefulness.

Before diving into the Views API, you'll want to make sure you're familiar with hooks and the Plugin API. If you need to brush up on building Views with the UI check out Views: Create Lists with Drupal.

Tutorials

We're already working on more tutorials for this series. The first set focuses on exposing data to Views so that it can be used when building a list, and altering a View when it's executed. In the next couple of weeks we'll add tutorials covering defining custom Views handler plugins for field formatters, sorts, and filters. These custom plugins will allow you to customize the way that queries are built using Views.

Add new comment

Filtered HTML

  • Web page addresses and email addresses turn into links automatically.
  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <code class> <ul type> <ol start type> <li> <dl> <dt> <dd><h3 id> <p>
  • Lines and paragraphs break automatically.

About us

Drupalize.Me is the best resource for learning Drupal online. We have an extensive library covering multiple versions of Drupal and we are the most accurate and up-to-date Drupal resource. Learn more