EntityReferenceFormatterTest::$fieldName

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

The name of the field used in this test.

Type: string

File

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

Class

EntityReferenceFormatterTest
Tests the formatters functionality.

Namespace

Drupal\Tests\field\Kernel\EntityReference

Code

protected $fieldName = 'field_test';

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