* If this view is locked for editing.
*
* If this view is locked it will contain the result of
- * \Drupal\user\SharedTempStore::getMetadata(). Which can be a stdClass or
+ * \Drupal\Core\TempStore\SharedTempStore::getMetadata(). Which can be a stdClass or
* NULL.
*
* @var stdClass
}
/**
- * Sets a cached view object in the user tempstore.
+ * Sets a cached view object in the shared tempstore.
*/
public function cacheSet() {
if ($this->isLocked()) {
$executable->default_display = NULL;
$executable->query = NULL;
$executable->displayHandlers = NULL;
- \Drupal::service('user.shared_tempstore')->get('views')->set($this->id(), $this);
+ \Drupal::service('tempstore.shared')->get('views')->set($this->id(), $this);
}
/**