public function ConfigPagesClearConfirmationForm::getQuestion in Config Pages 8
Same name and namespace in other branches
- 8.3 src/Form/ConfigPagesClearConfirmationForm.php \Drupal\config_pages\Form\ConfigPagesClearConfirmationForm::getQuestion()
- 8.2 src/Form/ConfigPagesClearConfirmationForm.php \Drupal\config_pages\Form\ConfigPagesClearConfirmationForm::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/
Form/ ConfigPagesClearConfirmationForm.php, line 27
Class
- ConfigPagesClearConfirmationForm
- Action on clear ConfigPage submit form.
Namespace
Drupal\config_pages\FormCode
public function getQuestion() {
return t('Do you want to delete %id?', [
'%id' => $this->id,
]);
}