You are here

function MobileDetectCache::set in Mobile Detect 7

Implements DrupalCacheInterface::set().

Overrides DrupalDatabaseCache::set

File

mobile_detect_caching/mobile_detect_caching.inc, line 33
Cache backend include for the mobile_detect_caching module.

Class

MobileDetectCache
Defines a Mobile Detect cache implementation.

Code

function set($cid, $data, $expire = CACHE_PERMANENT) {
  $cid = $this
    ->mobile_detect_caching_alter_cid() . $cid;
  parent::set($cid, $data, $expire);
}