public function FileDeleteMultipleForm::getQuestion in File Entity (fieldable files) 8.2
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/ FileDeleteMultipleForm.php, line 75
Class
- FileDeleteMultipleForm
- Provides a file deletion confirmation form.
Namespace
Drupal\file_entity\FormCode
public function getQuestion() {
return \Drupal::translation()
->formatPlural(count($this->files), 'Are you sure you want to delete this file?', 'Are you sure you want to delete these files?');
}