src/Shop/ConfigForm.php
protected function getNatureOptions()
    {
        return array(
            PluginConfig::Nature_Both => $this->t('option_nature_1'),
            PluginConfig::Nature_Products => $this->t('option_nature_2'),
            PluginConfig::Nature_Services => $this->t('option_nature_3'),
        );
    }
protected function getNatureOptions()
    {
        return array(
            PluginConfig::Nature_Both => $this->t('option_nature_1'),
            PluginConfig::Nature_Products => $this->t('option_nature_2'),
            PluginConfig::Nature_Services => $this->t('option_nature_3'),
        );
    }
protected function getNatureOptions ( ) { return array ( PluginConfig :: Nature_Both => $ this -> t ( 'option_nature_1' ) , PluginConfig :: Nature_Products => $ this -> t ( 'option_nature_2' ) , PluginConfig :: Nature_Services => $ this -> t ( 'option_nature_3' ) , ) ; }
Returns a list of options for the nature field.

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