Provide entity context to DS block fields

Created on 24 January 2018, almost 7 years ago
Updated 9 February 2024, 10 months ago

Problem/Motivation

Use case: in a teaser view mode that's used on a listing page, replace an entity reference field with a view by using a DS block.

The view block display uses a contextual filter. We can apply validation and get access to a URL based context per #2886116-2: Passing a value into a views contextual filter from a block field . But that won't help here, since the teaser will not be on a node entity page.

What we need instead is the ability to pull the context from the entity the DS field is attached to.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

🇨🇦Canada nedjo

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024