You are here

protected static property MessageResourceTestBase::$labelFieldName in Drupal 8

Same name and namespace in other branches
  1. 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

MessageResourceTestBase

Namespace

Drupal\Tests\contact\Functional\Rest

Code

protected static $labelFieldName = 'subject';