You are here

protected property EntityReferenceFormatterTest::$unsavedReferencedEntity in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceFormatterTest.php \Drupal\Tests\field\Kernel\EntityReference\EntityReferenceFormatterTest::unsavedReferencedEntity
  2. 9 core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceFormatterTest.php \Drupal\Tests\field\Kernel\EntityReference\EntityReferenceFormatterTest::unsavedReferencedEntity

The entity that is not yet saved to its persistent storage to be referenced in this test.

Type: \Drupal\Core\Entity\EntityInterface

File

core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceFormatterTest.php, line 62

Class

EntityReferenceFormatterTest
Tests the formatters functionality.

Namespace

Drupal\Tests\field\Kernel\EntityReference

Code

protected $unsavedReferencedEntity;