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
Functions and interfaces for cache handling.

Class

DrupalCacheInterface
Defines an interface for cache implementations.

Code

function isEmpty();