You are here

entitycache.entitycacheentitycontrollerinterface.inc in Entity cache 7

File

includes/entitycache.entitycacheentitycontrollerinterface.inc
View source
<?php

/**
 * Common interface for entity controllers supporting entity cache.
 */
interface EntityCacheEntityControllerInterface extends DrupalEntityControllerInterface {

  /**
   * Resets the internal, static entity cache.
   *
   * @param string[] $ids
   *   (optional) If specified, the cache is reset for the entities with the
   *   given ids only.
   */
  public function resetStaticCache(array $ids = NULL);

}

Interfaces

Namesort descending Description
EntityCacheEntityControllerInterface Common interface for entity controllers supporting entity cache.