Mercurial > hg > isophonics-drupal-site
comparison 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 |
comparison
equal
deleted
inserted
replaced
16:c2387f117808 | 17:129ea1e6d783 |
---|---|
1 <?php | 1 <?php |
2 | 2 |
3 namespace Drupal\field\Tests\Views; | 3 namespace Drupal\field\Tests\Views; |
4 | |
5 @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); | |
4 | 6 |
5 use Drupal\field\Entity\FieldConfig; | 7 use Drupal\field\Entity\FieldConfig; |
6 use Drupal\node\Entity\NodeType; | 8 use Drupal\node\Entity\NodeType; |
7 use Drupal\views\Tests\ViewTestBase; | 9 use Drupal\views\Tests\ViewTestBase; |
8 use Drupal\views\Tests\ViewTestData; | 10 use Drupal\views\Tests\ViewTestData; |
15 * - Make sure that every wanted field is added to the according entity type. | 17 * - Make sure that every wanted field is added to the according entity type. |
16 * - Make sure the joins are done correctly. | 18 * - Make sure the joins are done correctly. |
17 * - Use basic fields and make sure that the full wanted object is built. | 19 * - Use basic fields and make sure that the full wanted object is built. |
18 * - Use relationships between different entity types, for example node and | 20 * - Use relationships between different entity types, for example node and |
19 * the node author(user). | 21 * the node author(user). |
22 * | |
23 * @deprecated in Drupal 8.6.0. Will be removed before Drupal 9.0.0. Use | |
24 * \Drupal\Tests\field\Functional\Views\FieldTestBase instead. | |
25 * | |
26 * @see https://www.drupal.org/node/2989020 | |
20 */ | 27 */ |
21 abstract class FieldTestBase extends ViewTestBase { | 28 abstract class FieldTestBase extends ViewTestBase { |
22 | 29 |
23 /** | 30 /** |
24 * Modules to enable. | 31 * Modules to enable. |