trait EntityReferenceTestTrait
Same name in this branch
- 8.9.x core/modules/field/tests/src/Traits/EntityReferenceTestTrait.php \Drupal\Tests\field\Traits\EntityReferenceTestTrait
Same name in other branches
- 9 core/modules/field/tests/src/Traits/EntityReferenceTestTrait.php \Drupal\Tests\field\Traits\EntityReferenceTestTrait
- 10 core/modules/field/tests/src/Traits/EntityReferenceTestTrait.php \Drupal\Tests\field\Traits\EntityReferenceTestTrait
- 11.x core/modules/field/tests/src/Traits/EntityReferenceTestTrait.php \Drupal\Tests\field\Traits\EntityReferenceTestTrait
Provides common functionality for the EntityReference test classes.
Hierarchy
- trait \Drupal\field\Tests\EntityReference\EntityReferenceTestTrait uses \Drupal\Tests\field\Traits\EntityReferenceTestTrait
Deprecated
in drupal:8.6.2 and is removed from drupal:9.0.0. Use Drupal\Tests\field\Traits\EntityReferenceTestTrait instead.
See also
https://www.drupal.org/node/2998888
File
-
core/
modules/ field/ src/ Tests/ EntityReference/ EntityReferenceTestTrait.php, line 17
Namespace
Drupal\field\Tests\EntityReferenceView source
trait EntityReferenceTestTrait {
use nonDeprecatedEntityReferenceTestTrait;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.