You are here

public function HttpConfigRequestDeleteForm::getConfirmText in HTTP Client Manager 8.2

Same name and namespace in other branches
  1. 8 src/Form/HttpConfigRequestDeleteForm.php \Drupal\http_client_manager\Form\HttpConfigRequestDeleteForm::getConfirmText()

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/HttpConfigRequestDeleteForm.php, line 34

Class

HttpConfigRequestDeleteForm
Builds the form to delete Http Config Request entities.

Namespace

Drupal\http_client_manager\Form

Code

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