You are here

public function Feed::getNextImportTime in Feeds 8.3

Returns the next time the feed will be imported.

Return value

int The next time the feed will be imported as a UNIX timestamp.

Overrides FeedInterface::getNextImportTime

File

src/Entity/Feed.php, line 168

Class

Feed
Defines the feed entity class.

Namespace

Drupal\feeds\Entity

Code

public function getNextImportTime() {
  return (int) $this
    ->get('next')->value;
}