X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fconfig%2Fsrc%2FTests%2FAssertConfigEntityImportTrait.php;fp=web%2Fcore%2Fmodules%2Fconfig%2Fsrc%2FTests%2FAssertConfigEntityImportTrait.php;h=d405029a6e9b5118edb13afb21940568020df301;hp=044144483a1c6d4b2a87bb739a81ea5526816f00;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hpb=aea91e65e895364e460983b890e295aa5d5540a5 diff --git a/web/core/modules/config/src/Tests/AssertConfigEntityImportTrait.php b/web/core/modules/config/src/Tests/AssertConfigEntityImportTrait.php index 044144483..d405029a6 100644 --- a/web/core/modules/config/src/Tests/AssertConfigEntityImportTrait.php +++ b/web/core/modules/config/src/Tests/AssertConfigEntityImportTrait.php @@ -2,6 +2,8 @@ namespace Drupal\config\Tests; +@trigger_error('The ' . __NAMESPACE__ . '\AssertConfigEntityImportTrait is deprecated in Drupal 8.4.1 and will be removed before Drupal 9.0.0. Instead, use \Drupal\Tests\config\Traits\AssertConfigEntityImportTrait. See https://www.drupal.org/node/2916197.', E_USER_DEPRECATED); + use Drupal\Core\Config\Entity\ConfigEntityInterface; /** @@ -9,6 +11,11 @@ use Drupal\Core\Config\Entity\ConfigEntityInterface; * * Can be used by test classes that extend \Drupal\simpletest\WebTestBase or * \Drupal\KernelTests\KernelTestBase. + * + * @deprecated in Drupal 8.4.1 and will be removed before Drupal 9.0.0. + * Use \Drupal\Tests\config\Traits\AssertConfigEntityImportTrait. + * + * @see https://www.drupal.org/node/2916197 */ trait AssertConfigEntityImportTrait {