Problem/Motivation
if a paragraph and node both contain field_x, then BackReferenceFinder::getReferencingFieldList() will return:
[
'field_x' => $field_object,
]
where $field_object can be either field_x for node or for paragraph.
Steps to reproduce
Create the same field name for different entity types and run BackReferenceFinder::getReferencingFieldList().
Proposed resolution
BackReferenceFinder::getReferencingFieldList() could return something like:
[
'node.field_x' => $field_object,
'paragraph.field_x' => $field_object,
]
Remaining tasks
User interface changes
API changes
Data model changes
Comments
Comment #2
alberto56 commented