protected function JsProxyCache::doFullBootstrap in JS Callback Handler 7.2
Fully bootstraps Drupal.
2 calls to JsProxyCache::doFullBootstrap()
- JsProxyCache::get in src/
JsProxyCache.php - Returns data from the persistent cache.
- JsProxyCache::getMultiple in src/
JsProxyCache.php - Returns data from the persistent cache when given an array of cache IDs.
File
- src/
JsProxyCache.php, line 139
Class
- JsProxyCache
- JS custom cache handler.
Code
protected function doFullBootstrap() {
// If a full bootstrap is allowed and the backend class is not configured as
// excluded, as it intentionally does not return any cache hits, run a full
// bootstrap.
if (static::$fullBootstrapAllowed && !isset(static::$excludedConf[get_class($this->backend)])) {
static::setFullBootstrapAllowed(FALSE);
if (drupal_get_bootstrap_phase() < DRUPAL_BOOTSTRAP_FULL) {
js_bootstrap(DRUPAL_BOOTSTRAP_FULL);
}
}
}