TranslationTest::$field

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

The field to use in this test.

Type: \Drupal\field\Entity\FieldConfig

File

core/modules/field/tests/src/Kernel/TranslationTest.php, line 68

Class

TranslationTest
Tests multilanguage fields logic.

Namespace

Drupal\Tests\field\Kernel

Code

protected $field;

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