You are here

public function QuickTabsInstanceDeleteForm::getQuestion in Quick Tabs 8.3

Returns the question to ask the user.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form question. The page title will be set to this value.

Overrides ConfirmFormInterface::getQuestion

File

src/Form/QuickTabsInstanceDeleteForm.php, line 17

Class

QuickTabsInstanceDeleteForm
Class QuickTabsInstanceDeleteForm.

Namespace

Drupal\quicktabs\Form

Code

public function getQuestion() {
  $entity = $this->entity;
  return $this
    ->t('Are you sure you want to delete this quicktabs instance with name %name?', [
    '%name' => $entity
      ->getLabel(),
  ]);
}