protected function DrupalDefaultEntityController::cacheSet

protected DrupalDefaultEntityController::cacheSet($entities)

Stores entities in the static entity cache.

Parameters

$entities: Entities to store in the cache.

File

includes/entity.inc, line 430

Class

DrupalDefaultEntityController
Default implementation of DrupalEntityControllerInterface.

Code

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!entity.inc/function/DrupalDefaultEntityController::cacheSet/7.x