Closed (duplicate)
Project:
Views Reference Field
Version:
8.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
1 Dec 2021 at 12:49 UTC
Updated:
18 Apr 2023 at 08:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
_shyComment #3
_shy- Added host entity type id and entity id to the
$view->element['#viewsreference'];Comment #4
id.conky commentedI also faced with the situation when need host entity data while altering views to adjust some things.
In general patch #3 looks fine, but on my opinion it will be easier to work with host entity by passing whole object instead of just type and id.
Patch attached.
Comment #5
seanbI think this is a duplicate of #3090713: Parent field entity in plugin interface which I just committed. Does this solve the issue?
Comment #6
id.conky commentedCool, thanks! This issue can be closed now.