You are here

public function OpignoActivityRevisionRevertForm::getQuestion in Opigno module 8

Same name and namespace in other branches
  1. 3.x src/Form/OpignoActivityRevisionRevertForm.php \Drupal\opigno_module\Form\OpignoActivityRevisionRevertForm::getQuestion()

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/OpignoActivityRevisionRevertForm.php, line 79

Class

OpignoActivityRevisionRevertForm
Provides a form for reverting a Answer revision.

Namespace

Drupal\opigno_module\Form

Code

public function getQuestion() {
  return t('Are you sure you want to revert the revision?');
}