You are here

protected function YamlFormSubmissionForm::isGet in YAML Form 8

Is the form being initially loaded via GET method.

Return value

bool TRUE if the form is being initially loaded via GET method.

1 call to YamlFormSubmissionForm::isGet()
YamlFormSubmissionForm::displayMessages in src/YamlFormSubmissionForm.php
Display draft and previous submission status messages for this form submission.

File

src/YamlFormSubmissionForm.php, line 1378

Class

YamlFormSubmissionForm
Provides a form to collect and edit submissions.

Namespace

Drupal\yamlform

Code

protected function isGet() {
  return $this
    ->getRequest()
    ->getMethod() == 'GET' ? TRUE : FALSE;
}