You are here

public function YamlFormSubmissionInterface::getState in YAML Form 8

Track the state of a submission.

Return value

int Either STATE_NEW, STATE_DRAFT, STATE_COMPLETED, or STATE_UPDATED, depending on the last save operation performed.

1 method overrides YamlFormSubmissionInterface::getState()
YamlFormSubmission::getState in src/Entity/YamlFormSubmission.php
Track the state of a submission.

File

src/YamlFormSubmissionInterface.php, line 214

Class

YamlFormSubmissionInterface
Provides an interface defining a form submission entity.

Namespace

Drupal\yamlform

Code

public function getState();