protected function MenuDeleteMenuForm::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/menu/lib/Drupal/menu/Form/MenuDeleteMenuForm.php, line 28
Contains \Drupal\menu\Form\MenuDeleteMenuForm.

Class

MenuDeleteMenuForm
Defines a confirmation form for deletion of a custom menu.

Namespace

Drupal\menu\Form

Code

protected function getQuestion() {
  return t('Are you sure you want to delete the custom menu %title?', array(
    '%title' => $this->menu
      ->label(),
  ));
}