src/Shop/ConfigForm.php
protected function getMarginProductsOptions()
    {
        return array(
            PluginConfig::MarginProducts_Both => $this->t('option_marginProducts_1'),
            PluginConfig::MarginProducts_No => $this->t('option_marginProducts_2'),
            PluginConfig::MarginProducts_Only => $this->t('option_marginProducts_3'),
        );
    }
protected function getMarginProductsOptions()
    {
        return array(
            PluginConfig::MarginProducts_Both => $this->t('option_marginProducts_1'),
            PluginConfig::MarginProducts_No => $this->t('option_marginProducts_2'),
            PluginConfig::MarginProducts_Only => $this->t('option_marginProducts_3'),
        );
    }
protected function getMarginProductsOptions ( ) { return array ( PluginConfig :: MarginProducts_Both => $ this -> t ( 'option_marginProducts_1' ) , PluginConfig :: MarginProducts_No => $ this -> t ( 'option_marginProducts_2' ) , PluginConfig :: MarginProducts_Only => $ this -> t ( 'option_marginProducts_3' ) , ) ; }
Returns a list of options for the margin products field.

@return string[]
An array keyed by the option values and having translated descriptions
as values.
Returns a list of options for the margin products field .