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

Class

EntityReferenceSelectionHandlerGeneric_taxonomy_term
Override for the Taxonomy term entity type.

Code

protected $label_key = 'name';