protected static property MessageResourceTestBase::$labelFieldName in Drupal 9
Same name and namespace in other branches
- 8 core/modules/contact/tests/src/Functional/Rest/MessageResourceTestBase.php \Drupal\Tests\contact\Functional\Rest\MessageResourceTestBase::labelFieldName
- 10 core/modules/contact/tests/src/Functional/Rest/MessageResourceTestBase.php \Drupal\Tests\contact\Functional\Rest\MessageResourceTestBase::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/ contact/ tests/ src/ Functional/ Rest/ MessageResourceTestBase.php, line 26
Class
Namespace
Drupal\Tests\contact\Functional\RestCode
protected static $labelFieldName = 'subject';