Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Views tree

Security covered Under active development 7,481 sites

Part of the Views ecosystem · 280 projects

This module provides a tree-based display style for Drupal Views, allowing you to present hierarchical data efficiently using a single database query. It works by linking fields to represent parent-child relationships within your view.

This module provides a tree-based style plugin for Views. It is equivalent to the tree-based style template from Views 1.

It is based off of the list style. Although it generates a nested view, there is still only a single query run for the view making it quite performant.

The 1.x branch is compatible with Views 2. The 2.x branch is compatible with Views 3.

Usage

  1. Create a new view using the Fields row style. Populate it with the appropriate fields you want.
  2. Select the Tree (Adjacency model) style plugin.
  3. Select the linking fields in the style configuration panel. Generally, you will want to link from a nodereference field to the nid on the same node type. That is, the nodereference field is used as a pointer to the "parent" node.
  4. Save and enjoy.

Compatibility

This module has been tested and used with the following relationship-oriented modules:

This module was developed for http://www.star-fleet.com/.

Drupal 10–11

Ask your assistant about Views tree

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

  • views Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
5
Tracked since
May 2025
Latest release
3 months ago
Releases (12 mo)
3 ▲ from 2
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
3.0.3 Stable 10–11 Jun 22, 2026
3.0.2 Stable 10–11 Jan 5, 2026
3.0.1 Stable 10–11 Oct 19, 2025
3.0.0 Stable 10–11 May 13, 2025
3.0.x-dev Dev 10–11 May 13, 2025