protected function WebformSubmissionForm::isGet in Webform 6.x
Same name and namespace in other branches
- 8.5 src/WebformSubmissionForm.php \Drupal\webform\WebformSubmissionForm::isGet()
Is the webform being initially loaded via GET method.
Return value
bool TRUE if the webform is being initially loaded via GET method.
1 call to WebformSubmissionForm::isGet()
- WebformSubmissionForm::displayMessages in src/
WebformSubmissionForm.php - Display draft, previous submission, and autofill status messages for this webform submission.
File
- src/
WebformSubmissionForm.php, line 2907
Class
- WebformSubmissionForm
- Provides a webform to collect and edit submissions.
Namespace
Drupal\webformCode
protected function isGet() {
return $this
->getRequest()
->getMethod() === 'GET' ? TRUE : FALSE;
}