You are here

protected static property UserResourceTestBase::$labelFieldName in Drupal 9

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

Optionally specify which field is the 'label' field. Some entities do not specify a 'label' entity key. For example: User.

Type: string|null

Overrides EntityResourceTestBase::$labelFieldName

See also

::getInvalidNormalizedEntityToCreate

File

core/modules/user/tests/src/Functional/Rest/UserResourceTestBase.php, line 37

Class

UserResourceTestBase

Namespace

Drupal\Tests\user\Functional\Rest

Code

protected static $labelFieldName = 'name';