X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fsystem%2Fsrc%2FTests%2FEntity%2FEntityWithUriCacheTagsTestBase.php;fp=web%2Fcore%2Fmodules%2Fsystem%2Fsrc%2FTests%2FEntity%2FEntityWithUriCacheTagsTestBase.php;h=3fd9be010e2a7b8d47f40e2365fef9fbfc9a0e9d;hp=997a4d28f6f1fe083d08ac00cf197f5764367444;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hpb=74df008bdbb3a11eeea356744f39b802369bda3c diff --git a/web/core/modules/system/src/Tests/Entity/EntityWithUriCacheTagsTestBase.php b/web/core/modules/system/src/Tests/Entity/EntityWithUriCacheTagsTestBase.php index 997a4d28f..3fd9be010 100644 --- a/web/core/modules/system/src/Tests/Entity/EntityWithUriCacheTagsTestBase.php +++ b/web/core/modules/system/src/Tests/Entity/EntityWithUriCacheTagsTestBase.php @@ -7,8 +7,15 @@ use Drupal\Core\Language\LanguageInterface; use Drupal\field\Entity\FieldStorageConfig; use Drupal\field\Entity\FieldConfig; +@trigger_error(__NAMESPACE__ . '\EntityWithUriCacheTagsTestBase is deprecated in Drupal 8.6.x and will be removed before Drupal 9.0.0. Instead, use \Drupal\Tests\system\Functional\Entity\EntityWithUriCacheTagsTestBase. See https://www.drupal.org/node/2946549.', E_USER_DEPRECATED); + /** * Provides helper methods for Entity cache tags tests; for entities with URIs. + * + * @deprecated in Drupal 8.6.x and will be removed before Drupal 9.0.0. + * Use \Drupal\Tests\system\Functional\Entity\EntityWithUriCacheTagsTestBase. + * + * @see https://www.drupal.org/node/2946549 */ abstract class EntityWithUriCacheTagsTestBase extends EntityCacheTagsTestBase {