You are here

public function Poll::setAnonymousVoteAllow in Poll 8

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

Parameters

int $anonymous_vote_allow: The timestamp of the last refresh.

Return value

\Drupal\poll\PollInterface The class instance that this method is called on.

Overrides PollInterface::setAnonymousVoteAllow

File

src/Entity/Poll.php, line 102

Class

Poll
Defines the poll entity class.

Namespace

Drupal\poll\Entity

Code

public function setAnonymousVoteAllow($anonymous_vote_allow) {
  $this
    ->set('anonymous_vote_allow', $anonymous_vote_allow);
  return $this;
}