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

Class

EntityReferenceSelectionHandlerGeneric_file
Override for the File entity type.

Code

protected $label_key = 'filename';