protected function UpdateKernel::cacheDrupalContainer in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Update/UpdateKernel.php \Drupal\Core\Update\UpdateKernel::cacheDrupalContainer()
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 48
Class
- UpdateKernel
- Defines a kernel which is used primarily to run the update of Drupal.
Namespace
Drupal\Core\UpdateCode
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;
}