Mercurial > hg > isophonics-drupal-site
annotate core/modules/simpletest/src/SessionTestTrait.php @ 19:fa3358dc1485 tip
Add ndrum files
author | Chris Cannam |
---|---|
date | Wed, 28 Aug 2019 13:14:47 +0100 |
parents | af1871eacc83 |
children |
rev | line source |
---|---|
Chris@0 | 1 <?php |
Chris@0 | 2 |
Chris@0 | 3 namespace Drupal\simpletest; |
Chris@0 | 4 |
Chris@18 | 5 @trigger_error(__NAMESPACE__ . '\SessionTestTrait is deprecated in Drupal 8.1.1 will be removed before 9.0.0. Use \Drupal\Tests\SessionTestTrait instead.', E_USER_DEPRECATED); |
Chris@18 | 6 |
Chris@0 | 7 use Drupal\Tests\SessionTestTrait as BaseSessionTestTrait; |
Chris@0 | 8 |
Chris@0 | 9 /** |
Chris@0 | 10 * Provides methods to generate and get session name in tests. |
Chris@0 | 11 * |
Chris@18 | 12 * @deprecated in Drupal 8.1.1 will be removed before 9.0.0. Use |
Chris@18 | 13 * \Drupal\Tests\SessionTestTrait instead. |
Chris@0 | 14 * |
Chris@0 | 15 * @see \Drupal\Tests |
Chris@0 | 16 */ |
Chris@0 | 17 trait SessionTestTrait { |
Chris@0 | 18 |
Chris@0 | 19 use BaseSessionTestTrait; |
Chris@0 | 20 |
Chris@0 | 21 } |