You are here

public function Poll::getResultVoteAllow in Poll 8

Returns the time when this feed was queued for refresh, 0 if not queued.

Return value

int The timestamp of the last refresh.

Overrides PollInterface::getResultVoteAllow

File

src/Entity/Poll.php, line 125

Class

Poll
Defines the poll entity class.

Namespace

Drupal\poll\Entity

Code

public function getResultVoteAllow() {
  return $this
    ->get('result_vote_allow')->value;
}