src/Magento/Helpers/FormMapper.php
protected function getMagentoOptions(array $options)
    {
        $result = array();
        foreach ($options as $value => $label) {
            $result[] = array(
                'value' => $value,
                'label' => $label,
            );
        }
        return $result;
    }
protected function getMagentoOptions(array $options)
    {
        $result = array();
        foreach ($options as $value => $label) {
            $result[] = array(
                'value' => $value,
                'label' => $label,
            );
        }
        return $result;
    }
protected function getMagentoOptions ( array $ options ) { $ result = array ( ) ; foreach ( $ options as $ value => $ label ) { $ result [ ] = array ( 'value' => $ value , 'label' => $ label , ) ; } return $ result ; }
Converts a list of Acumulus field options to a list of Magento options.

@param array $options

@return array
A list of Magento form element options.
Converts a list of Acumulus field options to a list of Magento options .