You are here

public function WSCallDeleteForm::getConfirmText in Web Service Data 8

Same name and namespace in other branches
  1. 2.0.x src/Form/WSCallDeleteForm.php \Drupal\wsdata\Form\WSCallDeleteForm::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/WSCallDeleteForm.php, line 31

Class

WSCallDeleteForm
Builds the form to delete Web Service Call entities.

Namespace

Drupal\wsdata\Form

Code

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