annotate core/modules/simpletest/src/UserCreationTrait.php @ 17:129ea1e6d783

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:21:36 +0000
parents 1fec387a4317
children af1871eacc83
rev   line source
Chris@0 1 <?php
Chris@0 2
Chris@0 3 namespace Drupal\simpletest;
Chris@0 4
Chris@0 5 use Drupal\Tests\user\Traits\UserCreationTrait as BaseUserCreationTrait;
Chris@0 6
Chris@0 7 /**
Chris@0 8 * Provides methods to create additional test users and switch the currently
Chris@0 9 * logged in one.
Chris@0 10 *
Chris@0 11 * This trait is meant to be used only by test classes extending
Chris@0 12 * \Drupal\simpletest\TestBase.
Chris@0 13 *
Chris@0 14 * @deprecated in Drupal 8.4.x. Will be removed before Drupal 9.0.0. Use
Chris@14 15 * Drupal\Tests\user\Traits\UserCreationTrait instead.
Chris@0 16 *
Chris@0 17 * @see https://www.drupal.org/node/2884454
Chris@0 18 */
Chris@0 19 trait UserCreationTrait {
Chris@0 20
Chris@0 21 use BaseUserCreationTrait;
Chris@0 22
Chris@0 23 }