You are here

public function PollInterface::setRuntime in Poll 8

Sets the runtime of the feed in seconds.

Parameters

int $runtime: The refresh rate of the feed in seconds.

Return value

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

1 method overrides PollInterface::setRuntime()
Poll::setRuntime in src/Entity/Poll.php
Sets the runtime of the feed in seconds.

File

src/PollInterface.php, line 60

Class

PollInterface
Provides an interface defining an poll entity.

Namespace

Drupal\poll

Code

public function setRuntime($runtime);