Mercurial > hg > isophonics-drupal-site
comparison core/modules/simpletest/src/UserCreationTrait.php @ 18:af1871eacc83
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:33:08 +0100 |
parents | 1fec387a4317 |
children |
comparison
equal
deleted
inserted
replaced
17:129ea1e6d783 | 18:af1871eacc83 |
---|---|
1 <?php | 1 <?php |
2 | 2 |
3 namespace Drupal\simpletest; | 3 namespace Drupal\simpletest; |
4 | |
5 @trigger_error(__NAMESPACE__ . '\UserCreationTrait is deprecated in Drupal 8.4.x. Will be removed before Drupal 9.0.0. Use Drupal\Tests\user\Traits\UserCreationTrait instead. See https://www.drupal.org/node/2884454.', E_USER_DEPRECATED); | |
4 | 6 |
5 use Drupal\Tests\user\Traits\UserCreationTrait as BaseUserCreationTrait; | 7 use Drupal\Tests\user\Traits\UserCreationTrait as BaseUserCreationTrait; |
6 | 8 |
7 /** | 9 /** |
8 * Provides methods to create additional test users and switch the currently | 10 * Provides methods to create additional test users and switch the currently |