You are here

public function JsProxyCache::isEmpty in JS Callback Handler 7.2

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

src/JsProxyCache.php, line 132

Class

JsProxyCache
JS custom cache handler.

Code

public function isEmpty() {
  return $this->backend
    ->isEmpty();
}