You are here

protected static property UserTest::$labelFieldName in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/jsonapi/tests/src/Functional/UserTest.php \Drupal\Tests\jsonapi\Functional\UserTest::labelFieldName

Specify which field is the 'label' field for testing a POST edge case.

Type: string|null

Overrides ResourceTestBase::$labelFieldName

See also

::testPostIndividual()

File

core/modules/jsonapi/tests/src/Functional/UserTest.php, line 64

Class

UserTest
JSON:API integration test for the "User" content entity type.

Namespace

Drupal\Tests\jsonapi\Functional

Code

protected static $labelFieldName = 'display_name';