public function Storage::save in Express 8
Saves the data back to the database, if necessary, on shutdown.
This method is automatically invoked during PHP shutdown.
@internal
See also
\Drupal\bootstrap\Utility\Storage::__construct
File
- themes/
contrib/ bootstrap/ src/ Utility/ Storage.php, line 202 - Contains \Drupal\bootstrap\Utility\Storage.
Class
- Storage
- Theme Storage.
Namespace
Drupal\bootstrap\UtilityCode
public function save() {
if ($this->changed) {
\Drupal::cache($this->bin)
->set($this->cid, $this
->getAll(), $this->expire, $this->tags);
}
}