public function SchemaCache::__construct

Constructs a SchemaCache object.

Overrides DrupalCacheArray::__construct

Archivo

drupal-7.x/includes/bootstrap.inc, line 2968
Functions that need to be loaded on every Drupal request.

Class

SchemaCache
Extends DrupalCacheArray to allow for dynamic building of the schema cache.

Código

public function __construct() {
  // Cache by request method.
  parent::__construct('schema:runtime:' . ($_SERVER['REQUEST_METHOD'] == 'GET'), 'cache');
}