You are here

public function FormsStepsProgressStepDeleteForm::getConfirmText in Forms Steps 8

Returns a caption for the button that confirms the action.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.

Overrides ConfirmFormBase::getConfirmText

File

src/Form/FormsStepsProgressStepDeleteForm.php, line 57

Class

FormsStepsProgressStepDeleteForm
Builds the form to delete progress steps from FormsSteps entities.

Namespace

Drupal\forms_steps\Form

Code

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