protected function DrupalDefaultEntityController::cacheSet in Drupal 7
Stores entities in the static entity cache.
Parameters
$entities: Entities to store in the cache.
1 call to DrupalDefaultEntityController::cacheSet()
- DrupalDefaultEntityController::load in includes/
entity.inc - Implements DrupalEntityControllerInterface::load().
File
- includes/
entity.inc, line 430
Class
- DrupalDefaultEntityController
- Default implementation of DrupalEntityControllerInterface.
Code
protected function cacheSet($entities) {
$this->entityCache += $entities;
}