SharedTempStore.php 857 Bytes
Newer Older
1 2 3 4
<?php

namespace Drupal\user;

5 6 7 8 9 10 11 12 13 14
use Drupal\Core\TempStore\SharedTempStore as CoreSharedTempStore;

@trigger_error('\Drupal\user\SharedTempStore is scheduled for removal in Drupal 9.0.0. Use \Drupal\Core\TempStore\SharedTempStore instead. See https://www.drupal.org/node/2935639.', E_USER_DEPRECATED);

/**
 * In order to preserve BC alias the core exception.
 */
if (!class_exists('\Drupal\user\TempStoreException')) {
  class_alias('\Drupal\Core\TempStore\TempStoreException', '\Drupal\user\TempStoreException');
}
15 16 17 18

/**
 * Stores and retrieves temporary data for a given owner.
 *
19 20
 * @deprecated in Drupal 8.5.x, to be removed before Drupal 9.0.0.
 *   Use \Drupal\Core\TempStore\SharedTempStore instead.
21
 *
22 23
 * @see \Drupal\Core\TempStore\SharedTempStore
 * @see https://www.drupal.org/node/2935639
24
 */
25
class SharedTempStore extends CoreSharedTempStore {
26
}