Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This project is not covered by Drupal’s security advisory policy.
Description
Display Suite allows you to add Views block displays as fields to view modes. However, one problem is that you can't pass arguments to the view.
This is a very limited scope module designed to pass the node/term/user id to views included as block fields.
Instructions
- Go to example.com/admin/structure/ds/fields
- Add a new Block Field or edit an existing Block Field
- For the "Block" field, select a view that accepts an entity ID as a contextual filter (e.g. nodes tagged with term)
- Check the "Pass Entity ID as argument" option
- Save your Block Field
Project information
- Module categories: Content Display, Site Structure
- Created by jyee on , updated
- This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.