You are here

public function DeleteWordForm::getQuestion in Restrict Abusive Words 8

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/DeleteWordForm.php, line 32
Contains \Drupal\restrict_abusive_words\Form\DeleteWordForm.

Class

DeleteWordForm
Contribute form.

Namespace

Drupal\restrict_abusive_words\Form

Code

public function getQuestion() {
  return t('Are you sure you want to delete this word or phrase from the abusive word list?', array(
    '%id' => $this->id,
  ));
}