int[]|string[] getOriginalKeys() Returns the original keys of the choices. The original
array getChoices() Returns all selectable choices.
string[] getValuesForChoices(array $choices) Returns the values corresponding to the given choices
interface ChoiceListInterface A list of choices that can be selected in a choice field. A
static int|string toArrayKey(mixed $choice) Casts the given choice to an array key
class ArrayKeyChoiceList extends
string[] getValues() Returns the values for the choices. The values are strings that do
Classes
array getChoicesForValues(array $values) Returns the choices corresponding to the given values
class LegacyChoiceListAdapter implements
Page 1 of 3