/** * Get the button label * * @return string */ protected function buttonLabel() { return $this->getParams()->get('email_button_label', parent::buttonLabel()); }
/** * Get the button label * * @return string */ protected function buttonLabel() { return FText::_($this->getParams()->get('button_label', parent::buttonLabel())); }