You are here

public function Poll::getAnonymousVoteAllow in Poll 8

Returns the last time where the feed was checked for new items.

Return value

int The timestamp when new items were last checked for.

Overrides PollInterface::getAnonymousVoteAllow

File

src/Entity/Poll.php, line 95

Class

Poll
Defines the poll entity class.

Namespace

Drupal\poll\Entity

Code

public function getAnonymousVoteAllow() {
  return $this
    ->get('anonymous_vote_allow')->value;
}