public function DateFormatDeleteForm::getQuestion in Drupal 8
Same name and namespace in other branches
- 9 core/modules/system/src/Form/DateFormatDeleteForm.php \Drupal\system\Form\DateFormatDeleteForm::getQuestion()
Overrides EntityDeleteFormTrait::getQuestion
File
- core/
modules/ system/ src/ Form/ DateFormatDeleteForm.php, line 45
Class
- DateFormatDeleteForm
- Builds a form to delete a date format.
Namespace
Drupal\system\FormCode
public function getQuestion() {
return t('Are you sure you want to delete the format %name : %format?', [
'%name' => $this->entity
->label(),
'%format' => $this->dateFormatter
->format(REQUEST_TIME, $this->entity
->id()),
]);
}