EntityTestDateonlyTest::$fieldName

Same name in other branches
  1. 8.9.x core/modules/datetime/tests/src/Functional/EntityResource/EntityTest/EntityTestDateonlyTest.php \Drupal\Tests\datetime\Functional\EntityResource\EntityTest\EntityTestDateonlyTest::fieldName
  2. 10 core/modules/datetime/tests/src/Functional/EntityResource/EntityTest/EntityTestDateOnlyTest.php \Drupal\Tests\datetime\Functional\EntityResource\EntityTest\EntityTestDateOnlyTest::fieldName
  3. 11.x core/modules/datetime/tests/src/Functional/EntityResource/EntityTest/EntityTestDateOnlyTest.php \Drupal\Tests\datetime\Functional\EntityResource\EntityTest\EntityTestDateOnlyTest::fieldName

Datetime test field name.

Type: string

File

core/modules/datetime/tests/src/Functional/EntityResource/EntityTest/EntityTestDateonlyTest.php, line 40

Class

EntityTestDateonlyTest
Tests the datetime field constraint with 'date' items.

Namespace

Drupal\Tests\datetime\Functional\EntityResource\EntityTest

Code

protected static $fieldName = 'field_dateonly';

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