public function UnflagConfirmForm::getQuestion in Flag 8.4
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/ UnflagConfirmForm.php, line 25
Class
- UnflagConfirmForm
- Provides the confirm form page for unflagging an entity.
Namespace
Drupal\flag\FormCode
public function getQuestion() {
return $this->flag
->getLinkTypePlugin()
->getUnflagQuestion();
}