DateFormatDeleteForm::getQuestion

public 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 EntityDeleteFormTrait::getQuestion

File

core/modules/system/src/Form/DateFormatDeleteForm.php, line 43

Class

DateFormatDeleteForm
Builds a form to delete a date format.

Namespace

Drupal\system\Form

Code

public function getQuestion() {
  return t('Are you sure you want to delete the format %name : %format?', array(
    '%name' => $this->entity->label(),
    '%format' => $this->dateFormatter->format(REQUEST_TIME, $this->entity->id()))
  );
}
doc_Drupal
2016-10-29 09:00:33
Comments
Leave a Comment

Please login to continue.