You are here

public function FeedsSource::schedule in Feeds 8.2

Schedule all periodic tasks for this source.

File

lib/Drupal/feeds/FeedsSource.php, line 160
Definition of FeedsSourceInterface and FeedsSource class.

Class

FeedsSource
This class encapsulates a source of a feed. It stores where the feed can be found and how to import it.

Namespace

Drupal\feeds

Code

public function schedule() {
  $this
    ->scheduleImport();
  $this
    ->scheduleExpire();
}