protected function WebformSubmissionForm::resetEnabled in Webform 8.5
Same name and namespace in other branches
- 6.x src/WebformSubmissionForm.php \Drupal\webform\WebformSubmissionForm::resetEnabled()
Determine if reset is enabled.
Return value
bool TRUE if reset is enabled.
1 call to WebformSubmissionForm::resetEnabled()
- WebformSubmissionForm::actions in src/
WebformSubmissionForm.php - Returns an array of supported actions for the current entity form.
File
- src/
WebformSubmissionForm.php, line 2891
Class
- WebformSubmissionForm
- Provides a webform to collect and edit submissions.
Namespace
Drupal\webformCode
protected function resetEnabled() {
return $this
->getWebformSetting('form_reset', FALSE);
}