EntityReferenceItemTest::$entityStringId

Same name in other branches
  1. 9 core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php \Drupal\Tests\field\Kernel\EntityReference\EntityReferenceItemTest::entityStringId
  2. 10 core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php \Drupal\Tests\field\Kernel\EntityReference\EntityReferenceItemTest::entityStringId
  3. 11.x core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php \Drupal\Tests\field\Kernel\EntityReference\EntityReferenceItemTest::entityStringId

The test entity with a string ID.

Type: \Drupal\entity_test\Entity\EntityTestStringId

File

core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php, line 72

Class

EntityReferenceItemTest
Tests the new entity API for the entity reference field type.

Namespace

Drupal\Tests\field\Kernel\EntityReference

Code

protected $entityStringId;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.