protected function LinkDelete::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/shortcut/lib/Drupal/shortcut/Form/LinkDelete.php, line 35
Contains \Drupal\shortcut\Form\LinkDelete.

Class

LinkDelete
Builds the shortcut link deletion form.

Namespace

Drupal\shortcut\Form

Code

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