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

Class

AdminBlockDeleteForm
Provides a deletion confirmation form for the block instance deletion form.

Namespace

Drupal\block\Form

Code

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