Commit 69958cbd authored by jrockowitz's avatar jrockowitz

Fix minor API docs issue with the webform_submission entity.

parent 0af6b6a3
......@@ -518,11 +518,7 @@ class WebformSubmission extends ContentEntityBase implements WebformSubmissionIn
}
/**
* Track the state of a submission.
*
* @return int
* Either STATE_UNSAVED, STATE_CONVERTED, STATE_DRAFT, STATE_COMPLETED, or STATE_UPDATED,
* depending on the last save operation performed.
* {@inheritdoc}
*/
public function getState() {
if (!$this->id()) {
......
......@@ -228,8 +228,8 @@ interface WebformSubmissionInterface extends ContentEntityInterface, EntityOwner
* Track the state of a submission.
*
* @return int
* Either STATE_NEW, STATE_DRAFT, STATE_COMPLETED, or STATE_UPDATED,
* depending on the last save operation performed.
* Either STATE_NEW, STATE_DRAFT, STATE_COMPLETED, STATE_UPDATED, or
* STATE_CONVERTED depending on the last save operation performed.
*/
public function getState();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment