function WorkflowDeleteForm::getConfirmText

Same name and namespace in other branches
  1. 9 core/modules/workflows/src/Form/WorkflowDeleteForm.php \Drupal\workflows\Form\WorkflowDeleteForm::getConfirmText()
  2. 8.9.x core/modules/workflows/src/Form/WorkflowDeleteForm.php \Drupal\workflows\Form\WorkflowDeleteForm::getConfirmText()
  3. 10 core/modules/workflows/src/Form/WorkflowDeleteForm.php \Drupal\workflows\Form\WorkflowDeleteForm::getConfirmText()

Overrides EntityConfirmFormBase::getConfirmText

File

core/modules/workflows/src/Form/WorkflowDeleteForm.php, line 46

Class

WorkflowDeleteForm
Builds the form to delete Workflow entities.

Namespace

Drupal\workflows\Form

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.