You are here

public function Poll::getCancelVoteAllow 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::getCancelVoteAllow

File

src/Entity/Poll.php, line 110

Class

Poll
Defines the poll entity class.

Namespace

Drupal\poll\Entity

Code

public function getCancelVoteAllow() {
  return $this
    ->get('cancel_vote_allow')->value;
}