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

Class

SetDelete
Builds the shortcut set deletion form.

Namespace

Drupal\shortcut\Form

Code

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