public function WebformSubmissionsPurgeForm::getConfirmInput in Webform 8.5
Same name and namespace in other branches
- 6.x src/Form/WebformSubmissionsPurgeForm.php \Drupal\webform\Form\WebformSubmissionsPurgeForm::getConfirmInput()
Returns confirm input to display.
Return value
array A renderable array containing confirm input.
Overrides WebformDeleteFormBase::getConfirmInput
File
- src/
Form/ WebformSubmissionsPurgeForm.php, line 93
Class
- WebformSubmissionsPurgeForm
- Webform for webform submission purge webform.
Namespace
Drupal\webform\FormCode
public function getConfirmInput() {
return [
'#type' => 'checkbox',
'#title' => $this
->t('Yes, I want to purge all submissions'),
'#required' => TRUE,
];
}