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