You are here

public function YamlFormSubmission::setCreatedTime in YAML Form 8

Sets the creation date of the submission.

Parameters

int $created: The timestamp of when the submission was created.

Return value

$this

Overrides YamlFormSubmissionInterface::setCreatedTime

File

src/Entity/YamlFormSubmission.php, line 225

Class

YamlFormSubmission
Defines the YamlFormSubmission entity.

Namespace

Drupal\yamlform\Entity

Code

public function setCreatedTime($created) {
  $this
    ->set('created', $created);
  return $this;
}