public function WebformSubmission::isCompleted in Webform 8.5
Same name and namespace in other branches
- 6.x src/Entity/WebformSubmission.php \Drupal\webform\Entity\WebformSubmission::isCompleted()
Is the current submission completed.
Return value
bool TRUE if the current submission has been completed.
Overrides WebformSubmissionInterface::isCompleted
1 call to WebformSubmission::isCompleted()
- WebformSubmission::preSave in src/
Entity/ WebformSubmission.php - Acts on an entity before the presave hook is invoked.
File
- src/
Entity/ WebformSubmission.php, line 658
Class
- WebformSubmission
- Defines the WebformSubmission entity.
Namespace
Drupal\webform\EntityCode
public function isCompleted() {
return $this
->get('completed')->value ? TRUE : FALSE;
}