protected static property UserResourceTestBase::$labelFieldName in Drupal 9
Same name and namespace in other branches
- 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
Namespace
Drupal\Tests\user\Functional\RestCode
protected static $labelFieldName = 'name';