protected function DateFormatDeleteForm::getQuestion

Returns the question to ask the user.

Return value

string The form question. The page title will be set to this value.

Overrides ConfirmFormBase::getQuestion

File

drupal/core/modules/system/lib/Drupal/system/Form/DateFormatDeleteForm.php, line 67
Contains \Drupal\system\Form\DateFormatDeleteForm.

Class

DateFormatDeleteForm
Builds a form to delete a date format.

Namespace

Drupal\system\Form

Code

protected function getQuestion() {
  return t('Are you sure you want to remove the format %name : %format?', array(
    '%name' => $this->format['name'],
    '%format' => format_date(REQUEST_TIME, $this->formatID),
  ));
}