X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fsystem%2Fsrc%2FTests%2FEntity%2FEntityDefinitionTestTrait.php;fp=web%2Fcore%2Fmodules%2Fsystem%2Fsrc%2FTests%2FEntity%2FEntityDefinitionTestTrait.php;h=0817aa79811e0298aaa775045f28a31941e83119;hp=380c1e66eda4ddad346cce50d3cfe8c19bf0ad35;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hpb=74df008bdbb3a11eeea356744f39b802369bda3c diff --git a/web/core/modules/system/src/Tests/Entity/EntityDefinitionTestTrait.php b/web/core/modules/system/src/Tests/Entity/EntityDefinitionTestTrait.php index 380c1e66e..0817aa798 100644 --- a/web/core/modules/system/src/Tests/Entity/EntityDefinitionTestTrait.php +++ b/web/core/modules/system/src/Tests/Entity/EntityDefinitionTestTrait.php @@ -5,8 +5,15 @@ namespace Drupal\system\Tests\Entity; use Drupal\Core\Field\BaseFieldDefinition; use Drupal\entity_test\FieldStorageDefinition; +@trigger_error(__NAMESPACE__ . '\EntityDefinitionTestTrait is deprecated in Drupal 8.6.x and will be removed before Drupal 9.0.0. Instead, use \Drupal\Tests\system\Functional\Entity\Traits\EntityDefinitionTestTrait. See https://www.drupal.org/node/2946549.', E_USER_DEPRECATED); + /** * Provides some test methods used to update existing entity definitions. + * + * @deprecated in Drupal 8.6.x and will be removed before Drupal 9.0.0. + * Use \Drupal\Tests\system\Functional\Entity\Traits\EntityDefinitionTestTrait. + * + * @see https://www.drupal.org/node/2946549 */ trait EntityDefinitionTestTrait {