TestItemTest::$fieldName

Same name and namespace in other branches
  1. 9 core/modules/field/tests/src/Kernel/TestItemTest.php \Drupal\Tests\field\Kernel\TestItemTest::fieldName
  2. 10 core/modules/field/tests/src/Kernel/TestItemTest.php \Drupal\Tests\field\Kernel\TestItemTest::fieldName
  3. 11.x core/modules/field/tests/src/Kernel/TestItemTest.php \Drupal\Tests\field\Kernel\TestItemTest::fieldName

The name of the field to use in this test.

Type: string

File

core/modules/field/tests/src/Kernel/TestItemTest.php, line 31

Class

TestItemTest
Tests the new entity API for the test field type.

Namespace

Drupal\Tests\field\Kernel

Code

protected $fieldName = 'field_test';

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