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

Class

MenuLinkDeleteForm
Defines a confirmation form for deletion of a single menu link.

Namespace

Drupal\menu\Form

Code

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