comparison core/modules/simpletest/src/UserCreationTrait.php @ 0:4c8ae668cc8c

Initial import (non-working)
author Chris Cannam
date Wed, 29 Nov 2017 16:09:58 +0000
parents
children 7a779792577d
comparison
equal deleted inserted replaced
-1:000000000000 0:4c8ae668cc8c
1 <?php
2
3 namespace Drupal\simpletest;
4
5 use Drupal\Tests\user\Traits\UserCreationTrait as BaseUserCreationTrait;
6
7 /**
8 * Provides methods to create additional test users and switch the currently
9 * logged in one.
10 *
11 * This trait is meant to be used only by test classes extending
12 * \Drupal\simpletest\TestBase.
13 *
14 * @deprecated in Drupal 8.4.x. Will be removed before Drupal 9.0.0. Use
15 * Drupal\Tests\UserCreationTrait instead.
16 *
17 * @see https://www.drupal.org/node/2884454
18 */
19 trait UserCreationTrait {
20
21 use BaseUserCreationTrait;
22
23 }