You are here

public function FeedsSource::getNextImportTime in Feeds 7.2

Returns the next time that the feed will be imported.

Return value

int|null The next time the feed will be imported as a UNIX timestamp. NULL if not known.

File

includes/FeedsSource.inc, line 767
Definition of FeedsSourceInterface, FeedsState and FeedsSource class.

Class

FeedsSource
Holds the source of a feed to import.

Code

public function getNextImportTime() {
  $details = $this
    ->getNextImportTimeDetails();
  if (isset($details['time'])) {
    return $details['time'];
  }
}