protected function UpdateKernel::shutdownSession
protected UpdateKernel::shutdownSession(Request $request)
Ensures that the session is saved.
Parameters
\Symfony\Component\HttpFoundation\Request $request: The incoming request.
File
- core/lib/Drupal/Core/Update/UpdateKernel.php, line 136
Class
- UpdateKernel
- Defines a kernel which is used primarily to run the update of Drupal.
Namespace
Drupal\Core\UpdateCode
protected function shutdownSession(Request $request) { if ($request->hasSession()) { $request->getSession()->save(); } }
© 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::shutdownSession/8.1.x