By joachim on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
7.x-2.x
Introduced in version:
7.x-2.0-alpha2
Issue links:
Description:
The Services Entity Reference submodule defines relationships on entity types for the backward reference from entityreference fields.
In other words, if entity type Foo has an entityreference field which points to Bar entities, then the Bar entity type has a relationship resource defined on it.
The name of this resource was the pluralized machine name of the entity on which the field is, 'foo'.
However, this causes problems if there are multiple fields on entity type Foo which all point to Bar entities.
Hence, the resource name is now formed from the pluralized machine name and the fieldname:
$name . '_' . $field_name
Impacts:
Site builders, administrators, editors
Module developers