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

Class

MenuLinkResetForm
Defines a confirmation form for resetting a single modified menu link.

Namespace

Drupal\menu\Form

Code

protected function getQuestion() {
  return t('Are you sure you want to reset the link %item to its default values?', array(
    '%item' => $this->menuLink->link_title,
  ));
}