DateRangeItemTest::$field

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

The field used in this test class.

Type: \Drupal\field\Entity\FieldConfig

File

core/modules/datetime_range/tests/src/Kernel/DateRangeItemTest.php, line 31

Class

DateRangeItemTest
Test datetime range field type via API.

Namespace

Drupal\Tests\datetime_range\Kernel

Code

protected $field;

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