You are here

public function YamlFormSubmission::getCompletedTime in YAML Form 8

Gets the timestamp of the submission completion.

Return value

int The timestamp of the submission completion.

Overrides YamlFormSubmissionInterface::getCompletedTime

File

src/Entity/YamlFormSubmission.php, line 248

Class

YamlFormSubmission
Defines the YamlFormSubmission entity.

Namespace

Drupal\yamlform\Entity

Code

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