Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Linkit 7.0.17 Minor update available for module linkit (7.0.17). Release: Raven: Sentry Integration 7.6.0 Minor update available for module raven (7.6.0). Release: OpenAI Provider 1.3.0-beta3 New beta version released for module ai_provider_openai (1.3.0-beta3). Release: Workflow 2.1.13 Minor update available for module workflow (2.1.13). Release: ECA Field Widget Actions 1.0.0 Initial release available for module eca_field_widget_actions (1.0.0)! Release: Web Development 12.0.1 Minor update available for module webdev (12.0.1). Release: Web Config 12.0.1 Minor update available for module webconfig (12.0.1). Release: Web Blog 12.0.1 Minor update available for module webblog (12.0.1). Usage Milestone: Schemata Module schemata crossed 1,000 active installs. Module Revived: Fastly 4.0.6 Module fastly updated after 6 months of inactivity (4.0.6).

Views Field View

33,336 sites Security covered Drupal 9–11

Part of the Views ecosystem · 208 projects

View on drupal.org

This module allows you to embed one Drupal view inside another, creating a nested display. It achieves this by adding configured child views as fields to parent views, passing contextual filters from the parent row to the child view to ensure relevant data is shown. This is useful for displaying related content in a structured way, such as listing group members within a list of groups.

The Views Field View module is a powerful tool for site builders who need to create nested data structures. It allows you to embed one view as a field within another, creating a "view-within-a-view" architecture that handles complex relationships with ease.

How It Works

The module provides a specialized field handler for Drupal Views. When you add this field to your "Parent" view, you can select a "Child" view to display inside it. Most importantly, it allows you to pass contextual filters (arguments) from the parent row - such as a Node ID or User ID - directly into the child view to ensure the embedded data is relevant to that specific row.

A Common Use Case: Nested Memberships

Example: building a directory of Groups. In main list, you want to show the group's name and description, but you also want to display a sub-list of the first and last names of all members belonging to that specific group.

  • The Parent View: Lists the Groups.
  • The Child View: Lists User names, filtered by a Group ID.
  • The Connection: Views Field View passes the Group ID from the parent row into the child view’s contextual filter.

Performance & Caching

Because nesting views can be resource-intensive (as it triggers additional database queries for every row in your list), caching is highly recommended. To keep your site fast and responsive, consider using advanced caching strategies:

  • Views Content Cache: Automatically clears the view cache when specific content types are updated.
  • Cache Actions: Provides Rules integration to trigger cache clearing based on specific site events.

Depends on

Dependencies of the latest stable release

  • views Drupal core

Required by

2 tracked projects depend on this one

Activity

Tracked releases
2
Tracked since
Jan 2025
Latest release
4 months ago
Releases (12 mo)
1
Maintenance
Active

Releases

Version Type Core Release date
8.x-1.0 Stable 9–11 May 5, 2026
8.x-1.0-beta6 Pre-release 9–11 Jan 13, 2025