protected static property UserResourceTestBase::$labelFieldName in Drupal 8
Same name and namespace in other branches
- 9 core/modules/user/tests/src/Functional/Rest/UserResourceTestBase.php \Drupal\Tests\user\Functional\Rest\UserResourceTestBase::labelFieldName
- 10 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 specify a 'label_callback', but not 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 40
Class
Namespace
Drupal\Tests\user\Functional\RestCode
protected static $labelFieldName = 'name';