DateTimeItemTest::$field

Same name in other branches
  1. 9 core/modules/datetime/tests/src/Kernel/DateTimeItemTest.php \Drupal\Tests\datetime\Kernel\DateTimeItemTest::field
  2. 8.9.x core/modules/datetime/tests/src/Kernel/DateTimeItemTest.php \Drupal\Tests\datetime\Kernel\DateTimeItemTest::field
  3. 10 core/modules/datetime/tests/src/Kernel/DateTimeItemTest.php \Drupal\Tests\datetime\Kernel\DateTimeItemTest::field

The field used in this test class.

Type: \Drupal\field\Entity\FieldConfig

File

core/modules/datetime/tests/src/Kernel/DateTimeItemTest.php, line 36

Class

DateTimeItemTest
Tests the new entity API for the date field type.

Namespace

Drupal\Tests\datetime\Kernel

Code

protected $field;

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