The current_entity property was removed in 3.0

Created on 19 January 2024, 5 months ago

Problem/Motivation

The property was removed here: https://git.drupalcode.org/project/eva/-/commit/16561ab33f6424133619ad8d...

We have custom code that relies on it to know what entity the view is displayed on.
And it is still used in Eva::getPath().

Steps to reproduce

For example in a hook_preprocess_eva_display_entity_view, you can't know which entity the view is displayed on.

Proposed resolution

Re-add the property (or another way to get info about the entity).

πŸ› Bug report
Status

Needs review

Version

3.0

Component

Code

Created by

πŸ‡«πŸ‡·France prudloff Lille

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024