EntityReferenceFieldTest::$fieldName

Same name in other branches
  1. 8.9.x core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php \Drupal\KernelTests\Core\Entity\EntityReferenceFieldTest::fieldName
  2. 10 core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php \Drupal\KernelTests\Core\Entity\EntityReferenceFieldTest::fieldName
  3. 11.x core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php \Drupal\KernelTests\Core\Entity\EntityReferenceFieldTest::fieldName

The name of the field used in this test.

Type: string

File

core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php, line 55

Class

EntityReferenceFieldTest
Tests for the entity reference field.

Namespace

Drupal\KernelTests\Core\Entity

Code

protected $fieldName = 'field_test';

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