You are here

public function WSServerDeleteForm::getConfirmText in Web Service Data 8

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

Class

WSServerDeleteForm
Builds the form to delete Web Service Server entities.

Namespace

Drupal\wsdata\Form

Code

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