NodeCreationTrait.php 480 Bytes
Newer Older
1
2
3
4
<?php

namespace Drupal\simpletest;

5
use Drupal\Tests\node\Traits\NodeCreationTrait as BaseNodeCreationTrait;
6
7
8
9
10

/**
 * Provides methods to create node based on default settings.
 *
 * 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\node\Traits\NodeCreationTrait instead.
14
15
 *
 * @see https://www.drupal.org/node/2884454
16
17
18
 */
trait NodeCreationTrait {

19
  use BaseNodeCreationTrait;
20
21

}