UpdateKernel::cacheDrupalContainer

protected UpdateKernel::cacheDrupalContainer(array $container_definition)

Stores the container definition in a cache.

Parameters

array $container_definition: The container definition to cache.

Return value

bool TRUE if the container was successfully cached.

Overrides DrupalKernel::cacheDrupalContainer

File

core/lib/Drupal/Core/Update/UpdateKernel.php, line 47

Class

UpdateKernel
Defines a kernel which is used primarily to run the update of Drupal.

Namespace

Drupal\Core\Update

Code

protected function cacheDrupalContainer(array $container_definition) {
  // Don't save this particular container to cache, so it does not leak into
  // the main site at all.
  return FALSE;
}
doc_Drupal
2016-10-29 09:50:45
Comments
Leave a Comment

Please login to continue.