protected static property MessageTest::$labelFieldName in JSON:API 8.2
Same name and namespace in other branches
- 8 tests/src/Functional/MessageTest.php \Drupal\Tests\jsonapi\Functional\MessageTest::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 ResourceTestBase::$labelFieldName
See also
::getInvalidNormalizedEntityToCreate()
File
- tests/
src/ Functional/ MessageTest.php, line 44
Class
- MessageTest
- JSON:API integration test for the "Message" content entity type.
Namespace
Drupal\Tests\jsonapi\FunctionalCode
protected static $labelFieldName = 'subject';