interface EntityLoaderInterface

Custom loader for entities in the choice list.

Methods

array
getEntities()

Returns an array of entities that are valid choices in the corresponding choice list.

array
getEntitiesByIds(string$identifier,array$values)

Returns an array of entities matching the given identifiers.

Details

array getEntities()

Returns an array of entities that are valid choices in the corresponding choice list.

Return Value

array

array getEntitiesByIds(string$identifier,array$values)

Returns an array of entities matching the given identifiers.

Parameters

string $identifier
array $values

Return Value

array