Problem/Motivation

Currently, entity reference field items load the referenced entity to add properties such as entity type, bundle, label & UUID to the normalized item. This can add unnecessary entity loads where it might not be needed.

Proposed resolution

Add an config setting to skip entity reference loads, default to FALSE to preserve current behaviour. Patch attached achieves this.

Comments

bgilhome created an issue. See original summary.

bgilhome’s picture

StatusFileSize
new4.54 KB

Updated patch taken from 2.x-dev. Also fixed to add target_type and target_id properties (required to load referenced entities programatically) without having to load the entity.