/**
  * 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);
 }