You are here

public function DeleteForm::getQuestion in Optimizely 8

Same name and namespace in other branches
  1. 8.0 src/DeleteForm.php \Drupal\optimizely\DeleteForm::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/DeleteForm.php, line 26

Class

DeleteForm
Implements the confirmation form for deleting a project.

Namespace

Drupal\optimizely

Code

public function getQuestion() {

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