Display Suite ID Argument

Component ID

1459454

Component name

Display Suite ID Argument

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

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

  1. Go to example.com/admin/structure/ds/fields
  2. Add a new Block Field or edit an existing Block Field
  3. For the "Block" field, select a view that accepts an entity ID as a contextual filter (e.g. nodes tagged with term)
  4. Check the "Pass Entity ID as argument" option
  5. Save your Block Field