Mercurial > hg > isophonics-drupal-site
diff core/modules/field/src/Tests/Views/FieldTestBase.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | 1fec387a4317 |
children |
line wrap: on
line diff
--- a/core/modules/field/src/Tests/Views/FieldTestBase.php Tue Jul 10 15:07:59 2018 +0100 +++ b/core/modules/field/src/Tests/Views/FieldTestBase.php Thu Feb 28 13:21:36 2019 +0000 @@ -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 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 {