public function DeleteForm::getQuestion in Optimizely 8
Same name and namespace in other branches
- 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\optimizelyCode
public function getQuestion() {
// More like a heading than a question.
return $this
->t('Delete');
}