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 434
Generic Entity handler.

Class

EntityReferenceSelectionHandlerGeneric_comment
Override for the Comment entity type.

Code

protected $label_key = 'subject';