You are here

public function Poll::getCreated in Poll 8

Return when the feed was modified last time.

Return value

int The timestamp of the last time the feed was modified.

Overrides PollInterface::getCreated

File

src/Entity/Poll.php, line 73

Class

Poll
Defines the poll entity class.

Namespace

Drupal\poll\Entity

Code

public function getCreated() {
  return $this
    ->get('created')->value;
}