You are here

public function DeleteForm::getQuestion in Optimizely 8.0

Same name and namespace in other branches
  1. 8 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
Contains \Drupal\optimizely\DeleteForm

Class

DeleteForm
Implements the confirmation form for deleting a project.

Namespace

Drupal\optimizely

Code

public function getQuestion() {
  return $this
    ->t('Delete');

  // More like a heading.
}