You are here

public function GroupDeleteForm::getQuestion in Context groups 8

Same name and namespace in other branches
  1. 8.2 src/Form/GroupDeleteForm.php \Drupal\context_groups\Form\GroupDeleteForm::getQuestion()

Returns the question to ask the user.

Return value

string The form question. The page title will be set to this value.

Overrides ConfirmFormInterface::getQuestion

File

src/Form/GroupDeleteForm.php, line 88

Class

GroupDeleteForm
Class GroupDeleteForm.

Namespace

Drupal\context_groups\Form

Code

public function getQuestion() {
  return $this
    ->t('Are you sure you want to remove the "@label" group?', [
    '@label' => $this->contextGroup['label'],
  ]);
}