You are here

private function CerPresetFinder::_load in Corresponding Entity References 7.3

File

includes/CerPresetFinder.inc, line 71

Class

CerPresetFinder
This class is a unified way for CER to find the presets that apply to a given entity. The result set is segmented into two parts: presets where the entity is on the left side, and bidirectional presets with the entity on the right side (i.e., the ones…

Code

private function _load(array $result) {
  return isset($result['cer']) ? entity_load('cer', array_keys($result['cer'])) : array();
}