string[] getValuesForChoices(array $choices) Returns the values corresponding to the given choices
array getChoices() Returns all selectable choices.
int[]|string[] getOriginalKeys() Returns the original keys of the choices. The original
ChoiceListFactoryInterface getDecoratedFactory() Returns the decorated factory. Return Value ChoiceListFactoryInterface The decorated factory
ChoiceListInterface
static int|string toArrayKey(mixed $choice) Casts the given choice to an array key
class DefaultChoiceListFactory implements
interface ChoiceListInterface A list of choices that can be selected in a choice field. A
interface ChoiceListFactoryInterface Creates {@link ChoiceListInterface} instances.
Page 1 of 6