You are here

function MobileDetectCache::getMultiple in Mobile Detect 7

Implements DrupalCacheInterface::getMultiple().

Overrides DrupalDatabaseCache::getMultiple

File

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

Class

MobileDetectCache
Defines a Mobile Detect cache implementation.

Code

function getMultiple(&$cids) {
  if (is_array($cids)) {
    foreach ($cids as $key => $cid) {
      $cids[$key] = $this
        ->mobile_detect_caching_alter_cid() . $cid;
    }
  }
  return parent::getMultiple($cids);
}