The entity's label key as required for matching the autocomplete string.

Type: string

Overrides EntityReferenceSelectionHandlerGeneric::$label_key

See also

EntityReferenceSelectionHandlerGeneric::buildEntityFieldQuery

File

core/modules/entityreference/plugins/selection/EntityReferenceSelectionHandlerGeneric.inc, line 394
Generic Entity handler.

Class

EntityReferenceSelectionHandlerGeneric_user
Override for the User entity type.

Code

protected $label_key = 'name';