1 bootstrap.inc | protected SchemaCache::resolveCacheMiss($offset) |
Overrides BackdropCacheArray::resolveCacheMiss().
Overrides BackdropCacheArray::resolveCacheMiss
File
- core/
includes/ bootstrap.inc, line 3967 - Functions that need to be loaded on every Backdrop request.
Class
- SchemaCache
- Extends BackdropCacheArray to allow for dynamic building of the schema cache.
Code
protected function resolveCacheMiss($offset) {
$complete_schema = backdrop_get_complete_schema();
$value = isset($complete_schema[$offset]) ? $complete_schema[$offset] : NULL;
$this->storage[$offset] = $value;
$this->persist($offset);
return $value;
}