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