You are here

public function SmsGatewayDeleteForm::getConfirmText in SMS Framework 8

Returns a caption for the button that confirms the action.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.

Overrides EntityConfirmFormBase::getConfirmText

File

src/Form/SmsGatewayDeleteForm.php, line 26

Class

SmsGatewayDeleteForm
Form controller to delete SMS Gateway.

Namespace

Drupal\sms\Form

Code

public function getConfirmText() {
  return $this
    ->t('Delete');
}