Add optional View Mode condition to "View Content Entity" Event

Created on 26 May 2023, over 1 year ago
Updated 10 July 2023, over 1 year ago

Problem/Motivation

Currently, if you create an event on "View Content Entity" there is no way to detect what "View Mode" is currently being used. It would be useful to create a workflow that is "Do X only when Full display of entity is viewed" or anything else you can imagine that you would only want to trigger based on different view modes.

Proposed resolution

I think adding an extra condition in the Event much like how you can currently choose what entity to respond to would work, or as was suggested to Slack pass in view_mode as a token that you can later do conditions against.

✨ Feature request
Status

Fixed

Version

1.2

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States josh.fabean Florida

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

Comments & Activities

Production build 0.71.5 2024