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