public function Poll::setCancelVoteAllow in Poll 8
Sets the time when this feed was queued for refresh, 0 if not queued.
Parameters
int $cancel_vote_allow: The timestamp of the last refresh.
Return value
\Drupal\poll\PollInterface The class instance that this method is called on.
Overrides PollInterface::setCancelVoteAllow
File
- src/
Entity/ Poll.php, line 117
Class
- Poll
- Defines the poll entity class.
Namespace
Drupal\poll\EntityCode
public function setCancelVoteAllow($cancel_vote_allow) {
$this
->set('cancel_vote_allow', $cancel_vote_allow);
return $this;
}