Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / field / src / Tests / Views / FieldTestBase.php
index c01e9604cf153650ee93b1ed39f804f497ec8dc9..01a884b8a7b247c57d8d53888021e04128a0809e 100644 (file)
@@ -2,6 +2,8 @@
 
 namespace Drupal\field\Tests\Views;
 
+@trigger_error(__NAMESPACE__ . '\FieldTestBase is deprecated in Drupal 8.6.0 and will be removed before Drupal 9.0.0. Instead, use \Drupal\Tests\field\Functional\Views\FieldTestBase. See https://www.drupal.org/node/2971931.', E_USER_DEPRECATED);
+
 use Drupal\field\Entity\FieldConfig;
 use Drupal\node\Entity\NodeType;
 use Drupal\views\Tests\ViewTestBase;
@@ -17,6 +19,11 @@ use Drupal\field\Entity\FieldStorageConfig;
  *   - Use basic fields and make sure that the full wanted object is built.
  *   - Use relationships between different entity types, for example node and
  *     the node author(user).
+ *
+ * @deprecated in Drupal 8.6.0. Will be removed before Drupal 9.0.0. Use
+ * \Drupal\Tests\field\Functional\Views\FieldTestBase instead.
+ *
+ * @see https://www.drupal.org/node/2989020
  */
 abstract class FieldTestBase extends ViewTestBase {