/** * Overrides DrupalDefaultEntityController::cacheGet(). * * Override default function, due to Core issue #1572466. */ protected function cacheGet($ids, $conditions = array()) { // Load any available entities from the internal cache. if ($ids === FALSE && !$conditions) { return $this->entityCache; } return parent::cacheGet($ids, $conditions); }