public function DeleteMultiple::getQuestion in Media entity 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/ DeleteMultiple.php, line 75
Class
- DeleteMultiple
- Provides a media deletion confirmation form.
Namespace
Drupal\media_entity\FormCode
public function getQuestion() {
return $this
->formatPlural(count($this->entityInfo), 'Are you sure you want to delete this item?', 'Are you sure you want to delete these items?');
}