protected function 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;
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Update!UpdateKernel.php/function/UpdateKernel::cacheDrupalContainer/8.1.x