You are here

protected static property FacetSourceResourceTestBase::$labelFieldName in Facets 8

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

tests/src/Functional/Rest/FacetSourceResourceTestBase.php, line 26

Class

FacetSourceResourceTestBase
Class FacetSourceResourceTestBase.

Namespace

Drupal\Tests\facets\Functional\Rest

Code

protected static $labelFieldName = 'name';