public function SessionHelper::cleanUpStore in Examples for Developers 8
Same name and namespace in other branches
- 3.x modules/stream_wrapper_example/src/SessionHelper.php \Drupal\stream_wrapper_example\SessionHelper::cleanUpStore()
Zero out the store.
File
- stream_wrapper_example/
src/ SessionHelper.php, line 235
Class
- SessionHelper
- Helper to manage file wrapper data stored in the session object.
Namespace
Drupal\stream_wrapper_exampleCode
public function cleanUpStore() {
$session = $this
->getSession();
$session
->remove(static::SESSION_BASE_ATTRIBUTE);
}