You are here

public function WebhookConfigDeleteForm::getConfirmText in Webhooks 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/WebhookConfigDeleteForm.php, line 36

Class

WebhookConfigDeleteForm
Builds the form to delete Webhook entities.

Namespace

Drupal\webhooks\Form

Code

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