public function FormsStepsStepDeleteForm::getQuestion in Forms Steps 8
Returns the question to ask the user.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form question. The page title will be set to this value.
Overrides ConfirmFormInterface::getQuestion
File
- src/
Form/ FormsStepsStepDeleteForm.php, line 39  
Class
- FormsStepsStepDeleteForm
 - Builds the form to delete steps from FormsSteps entities.
 
Namespace
Drupal\forms_steps\FormCode
public function getQuestion() {
  return $this
    ->t('Are you sure you want to delete %step from %forms_steps?', [
    '%step' => $this->formsSteps
      ->getStep($this->stepId)
      ->label(),
    '%forms_steps' => $this->formsSteps
      ->label(),
  ]);
}