int[]|string[] getOriginalKeys() Returns the original keys of the choices. The original
array getChoices() Returns all selectable 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
string[] getValuesForChoices(array $choices) Returns the values corresponding to the given choices
Classes
class ArrayKeyChoiceList extends
array getChoicesForValues(array $values) Returns the choices corresponding to the given values
class LegacyChoiceListAdapter implements
Page 1 of 3