You are here

public function PollInterface::setQuestion in Poll 8

Sets the question for the poll.

Parameters

string $question: The short title of the feed.

Return value

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

1 method overrides PollInterface::setQuestion()
Poll::setQuestion in src/Entity/Poll.php
Sets the question for the poll.

File

src/PollInterface.php, line 21

Class

PollInterface
Provides an interface defining an poll entity.

Namespace

Drupal\poll

Code

public function setQuestion($question);