Mercurial > hg > isophonics-drupal-site
comparison core/modules/simpletest/src/NodeCreationTrait.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\node\Traits\NodeCreationTrait as BaseNodeCreationTrait; | |
6 | |
7 /** | |
8 * Provides methods to create node based on default settings. | |
9 * | |
10 * This trait is meant to be used only by test classes. | |
11 * | |
12 * @deprecated in Drupal 8.4.x. Will be removed before Drupal 9.0.0. Use | |
13 * Drupal\Tests\NodeCreationTrait instead. | |
14 * | |
15 * @see https://www.drupal.org/node/2884454 | |
16 */ | |
17 trait NodeCreationTrait { | |
18 | |
19 use BaseNodeCreationTrait; | |
20 | |
21 } |