public function Redis_Cache::isEmpty in Redis 7.3
Same name and namespace in other branches
- 7.2 lib/Redis/Cache.php \Redis_Cache::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.
Overrides DrupalCacheInterface::isEmpty
File
- lib/
Redis/ Cache.php, line 545
Class
- Redis_Cache
- Because those objects will be spawned during boostrap all its configuration must be set in the settings.php file.
Code
public function isEmpty() {
return false;
}