You are here

public function WebformSubmission::getCompletedTime in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/Entity/WebformSubmission.php \Drupal\webform\Entity\WebformSubmission::getCompletedTime()

Gets the timestamp of the submission completion.

Return value

int The timestamp of the submission completion.

Overrides WebformSubmissionInterface::getCompletedTime

File

src/Entity/WebformSubmission.php, line 307

Class

WebformSubmission
Defines the WebformSubmission entity.

Namespace

Drupal\webform\Entity

Code

public function getCompletedTime() {
  return $this
    ->get('completed')->value;
}