You are here

public function WorkflowDeleteForm::getQuestion in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/workflows/src/Form/WorkflowDeleteForm.php \Drupal\workflows\Form\WorkflowDeleteForm::getQuestion()
  2. 9 core/modules/workflows/src/Form/WorkflowDeleteForm.php \Drupal\workflows\Form\WorkflowDeleteForm::getQuestion()

File

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

Class

WorkflowDeleteForm
Builds the form to delete Workflow entities.

Namespace

Drupal\workflows\Form

Code

public function getQuestion() {
  return $this
    ->t('Are you sure you want to delete %name?', [
    '%name' => $this->entity
      ->label(),
  ]);
}