You are here

function d8cache_cache_get_object in Drupal 8 Cache Backport 7

Wraps the internal Drupal API with an official API.

Parameters

string $bin: The bin to get a cache object for.

Return value

DrupalCacheInterface The DrupalCacheInterface object for the selected bin.

1 call to d8cache_cache_get_object()
d8cache_block_view_alter in includes/block.inc
Implements hook_block_view_alter().

File

./d8cache.module, line 276
Main module file for the D8 caching system backport.

Code

function d8cache_cache_get_object($bin) {
  return _cache_get_object($bin);
}