Mercurial > hg > isophonics-drupal-site
annotate core/modules/simpletest/src/NodeCreationTrait.php @ 2:92f882872392
Trusted hosts, + remove migration modules
author | Chris Cannam |
---|---|
date | Tue, 05 Dec 2017 09:26:43 +0000 |
parents | 4c8ae668cc8c |
children | 7a779792577d |
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\node\Traits\NodeCreationTrait as BaseNodeCreationTrait; |
Chris@0 | 6 |
Chris@0 | 7 /** |
Chris@0 | 8 * Provides methods to create node based on default settings. |
Chris@0 | 9 * |
Chris@0 | 10 * This trait is meant to be used only by test classes. |
Chris@0 | 11 * |
Chris@0 | 12 * @deprecated in Drupal 8.4.x. Will be removed before Drupal 9.0.0. Use |
Chris@0 | 13 * Drupal\Tests\NodeCreationTrait instead. |
Chris@0 | 14 * |
Chris@0 | 15 * @see https://www.drupal.org/node/2884454 |
Chris@0 | 16 */ |
Chris@0 | 17 trait NodeCreationTrait { |
Chris@0 | 18 |
Chris@0 | 19 use BaseNodeCreationTrait; |
Chris@0 | 20 |
Chris@0 | 21 } |