Mercurial > hg > cmmr2012-drupal-site
comparison core/modules/user/src/SharedTempStore.php @ 0:c75dbcec494b
Initial commit from drush-created site
author | Chris Cannam |
---|---|
date | Thu, 05 Jul 2018 14:24:15 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:c75dbcec494b |
---|---|
1 <?php | |
2 | |
3 namespace Drupal\user; | |
4 | |
5 use Drupal\Core\TempStore\SharedTempStore as CoreSharedTempStore; | |
6 | |
7 @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); | |
8 | |
9 /** | |
10 * In order to preserve BC alias the core exception. | |
11 */ | |
12 if (!class_exists('\Drupal\user\TempStoreException')) { | |
13 class_alias('\Drupal\Core\TempStore\TempStoreException', '\Drupal\user\TempStoreException'); | |
14 } | |
15 | |
16 /** | |
17 * Stores and retrieves temporary data for a given owner. | |
18 * | |
19 * @deprecated in Drupal 8.5.x, to be removed before Drupal 9.0.0. | |
20 * Use \Drupal\Core\TempStore\SharedTempStore instead. | |
21 * | |
22 * @see \Drupal\Core\TempStore\SharedTempStore | |
23 * @see https://www.drupal.org/node/2935639 | |
24 */ | |
25 class SharedTempStore extends CoreSharedTempStore { | |
26 } |