public function Vote::getCreatedTime in Voting API 8.3
Gets the vote creation timestamp.
Return value
int Creation timestamp of the vote.
Overrides VoteInterface::getCreatedTime
File
- src/
Entity/ Vote.php, line 140
Class
- Vote
- Defines the Vote entity.
Namespace
Drupal\votingapi\EntityCode
public function getCreatedTime() {
return $this
->get('timestamp')->value;
}