You are here

public function VoteInterface::setCreatedTime in Voting API 8.3

Sets the vote creation timestamp.

Parameters

int $timestamp: The vote creation timestamp.

Return value

$this

1 method overrides VoteInterface::setCreatedTime()
Vote::setCreatedTime in src/Entity/Vote.php
Sets the vote creation timestamp.

File

src/VoteInterface.php, line 101

Class

VoteInterface
Provides an interface defining a vote entity.

Namespace

Drupal\votingapi

Code

public function setCreatedTime($timestamp);