1 bootstrap.inc | public SchemaCache::__construct() |
Constructs a SchemaCache object.
Overrides BackdropCacheArray::__construct
File
- core/
includes/ bootstrap.inc, line 4007 - Functions that need to be loaded on every Backdrop request.
Class
- SchemaCache
- Extends BackdropCacheArray to allow for dynamic building of the schema cache.
Code
public function __construct() {
// Cache by request method.
parent::__construct('schema:runtime:' . ($_SERVER['REQUEST_METHOD'] == 'GET'), 'cache');
}