CRUDlex\AbstractData::fetchReferences PHP Method

fetchReferences() abstract public method

Adds the id and name of referenced entities to the given entities. Each reference field is before the raw id of the referenced entity and after the fetch, it's an array with the keys id and name.
abstract public fetchReferences ( array &$entities = null ) : void
$entities array
return void
    public abstract function fetchReferences(array &$entities = null);