You are here

public function FeedsSource::isQueued in Feeds 7.2

Checks if a source is queued for import.

Return value

bool True if the source is queued to be imported. False otherwise.

1 call to FeedsSource::isQueued()
FeedsSource::scheduleImport in includes/FeedsSource.inc
Schedule periodic or background import tasks.

File

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

Class

FeedsSource
Holds the source of a feed to import.

Code

public function isQueued() {
  $details = $this
    ->getNextImportTimeDetails(array(
    'queue',
  ));
  if ($details) {
    return TRUE;
  }
  return FALSE;
}