EntitySelectorFieldAdapter
Table of Contents
Methods
- __construct() : mixed
- getLabel() : string
- Get label (title) of entity selected in filter
- getLabels() : array<string|int, mixed>
- Get labels (titles) of entities selected in filter
Methods
__construct()
public
__construct([array<string|int, mixed> $fieldOptions = [] ]) : mixed
Parameters
- $fieldOptions : array<string|int, mixed> = []
getLabel()
Get label (title) of entity selected in filter
public
getLabel(string $value) : string
Parameters
- $value : string
-
Entity id or JSON with entity type id and entity id
Return values
stringgetLabels()
Get labels (titles) of entities selected in filter
public
getLabels(array<string|int, mixed> $values) : array<string|int, mixed>
Parameters
- $values : array<string|int, mixed>
-
Array of entity ids or array of JSON with entity type id and entity id