Mercurial > hg > cmmr2012-drupal-site
comparison core/modules/field_ui/src/Tests/FieldUiTestTrait.php @ 5:12f9dff5fda9 tip
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:34:47 +0100 |
parents | c75dbcec494b |
children |
comparison
equal
deleted
inserted
replaced
4:a9cd425dd02b | 5:12f9dff5fda9 |
---|---|
1 <?php | 1 <?php |
2 | 2 |
3 namespace Drupal\field_ui\Tests; | 3 namespace Drupal\field_ui\Tests; |
4 | 4 |
5 @trigger_error(__NAMESPACE__ . '\FieldUiTestTrait is deprecated in Drupal 8.7.x and will be removed before Drupal 9.0.0. Instead, use \Drupal\Tests\field_ui\Traits\FieldUiTestTrait. See https://www.drupal.org/node/3001664', E_USER_DEPRECATED); | |
6 | |
5 /** | 7 /** |
6 * Provides common functionality for the Field UI test classes. | 8 * Provides common functionality for the Field UI test classes. |
9 * | |
10 * @deprecated in Drupal 8.7.x and will be removed before Drupal 9.0.0. | |
11 * Use \Drupal\Tests\field_ui\Traits\FieldUiTestTrait. See | |
12 * https://www.drupal.org/node/3001664 | |
7 */ | 13 */ |
8 trait FieldUiTestTrait { | 14 trait FieldUiTestTrait { |
9 | 15 |
10 /** | 16 /** |
11 * Creates a new field through the Field UI. | 17 * Creates a new field through the Field UI. |