You are here

public function EntityAPIController::resetCache in Entity API 7

Overrides DrupalDefaultEntityController::resetCache().

Overrides DrupalDefaultEntityController::resetCache

2 calls to EntityAPIController::resetCache()
EntityAPIController::delete in includes/entity.controller.inc
Implements EntityAPIControllerInterface.
EntityAPIController::save in includes/entity.controller.inc
Implements EntityAPIControllerInterface.
1 method overrides EntityAPIController::resetCache()
EntityAPIControllerExportable::resetCache in includes/entity.controller.inc
Overrides DrupalDefaultEntityController::resetCache().

File

includes/entity.controller.inc, line 323
Provides a controller building upon the core controller but providing more features like full CRUD functionality.

Class

EntityAPIController
A controller implementing EntityAPIControllerInterface for the database.

Code

public function resetCache(array $ids = NULL) {
  $this->cacheComplete = FALSE;
  parent::resetCache($ids);

  // Support the entitycache module.
  if (!empty($this->entityInfo['entity cache'])) {
    EntityCacheControllerHelper::resetEntityCache($this, $ids);
  }
}