You are here

public function ServiceResourceDeleteForm::getConfirmText in Services 8.4

Same name and namespace in other branches
  1. 9.0.x src/Form/ServiceResourceDeleteForm.php \Drupal\services\Form\ServiceResourceDeleteForm::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/ServiceResourceDeleteForm.php, line 33

Class

ServiceResourceDeleteForm
Class \Drupal\services\Form\ServiceResourceDeleteForm.

Namespace

Drupal\services\Form

Code

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