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