function DrupalDefaultEntityController::cacheSet

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 433

Class

DrupalDefaultEntityController
Default implementation of DrupalEntityControllerInterface.

Code

protected function cacheSet($entities) {
    $this->entityCache += $entities;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.