public function PresetDeleteForm::getQuestion in Video 8.2
Gathers a confirmation question.
The question is used as a title in our confirm form. For delete confirm forms, this typically takes the form of "Are you sure you want to delete...", including the entity label.
Return value
string Translated string.
Overrides ConfirmFormInterface::getQuestion
File
- modules/
video_transcode/ src/ Form/ PresetDeleteForm.php, line 34
Class
- PresetDeleteForm
- Class PresetDeleteForm.
Namespace
Drupal\video_transcode\FormCode
public function getQuestion() {
return $this
->t('Are you sure you want to delete preset %label?', array(
'%label' => $this->entity
->label(),
));
}