You are here

public function DeleteForm::getQuestion in Optimizely 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/DeleteForm.php, line 28

Class

DeleteForm
Implements the confirmation form for deleting a project.

Namespace

Drupal\optimizely\Form

Code

public function getQuestion() {

  // More like a heading than a question.
  return $this
    ->t('Delete');
}