You are here

protected static property FacetSummaryResourceTestBase::$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

modules/facets_summary/tests/src/Functional/Rest/FacetSummaryResourceTestBase.php, line 26

Class

FacetSummaryResourceTestBase
Class FacetSummaryResourceTestBase.

Namespace

Drupal\Tests\facets_summary\Functional\Rest

Code

protected static $labelFieldName = 'name';