function DrupalCacheInterface::isEmpty

Checks if a cache bin is empty.

A cache bin is considered empty if it does not contain any valid data for any cache ID.

Return value

TRUE if the cache bin specified is empty.

1 method overrides DrupalCacheInterface::isEmpty()
DrupalDatabaseCache::isEmpty in includes/cache.inc
Implements DrupalCacheInterface::isEmpty().

File

includes/cache.inc, line 313

Class

DrupalCacheInterface
Defines an interface for cache implementations.

Code

function isEmpty();

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