eca_render: Event for rendering a Views field does not provide info about according View

Issue information

From user: mxh

Related to !350 (merged)

Contribution record

Fork management

Problem/Motivation

The event "ECA Views field" is used for rendering a custom field in a view. Sometimes, it's necessary to have the information available, which view and display is being used.

Steps to reproduce

Proposed resolution

Provide new tokens from the event:

  • [event:view-id] that returns the machine name of the view
  • [event:view-display] that returns the machine name of the view display

Remaining tasks

User interface changes

API changes

Data model changes

Edited by drupalbot
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information