/** * Label for setting. */ public function settingsLabel($name, $value) { switch ($name) { case 'method': return $this->options[$name][$value]; } return parent::settingsLabel($name, $value); }