public function YamlFormHandlerDeleteForm::getQuestion in YAML Form 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/ YamlFormHandlerDeleteForm.php, line 31
Class
- YamlFormHandlerDeleteForm
- Form for deleting a form handler.
Namespace
Drupal\yamlform\FormCode
public function getQuestion() {
return $this
->t('Are you sure you want to delete the @handler handler from the %yamlform form?', [
'%yamlform' => $this->yamlform
->label(),
'@handler' => $this->yamlformHandler
->label(),
]);
}