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