You are here

public function FeedsFetcher::importPeriod in Feeds 8.2

Override import period settings. This can be used to force a certain import interval.

Parameters

$source: A FeedsSource object.

Return value

A time span in seconds if periodic import should be overridden for given $source, NULL otherwise.

1 method overrides FeedsFetcher::importPeriod()
FeedsHTTPFetcher::importPeriod in lib/Drupal/feeds/Plugin/feeds/fetcher/FeedsHTTPFetcher.php
Implement FeedsFetcher::importPeriod().

File

lib/Drupal/feeds/Plugin/FeedsFetcher.php, line 128
Contains the FeedsFetcher and related classes.

Class

FeedsFetcher
Abstract class, defines shared functionality between fetchers.

Namespace

Drupal\feeds\Plugin

Code

public function importPeriod(FeedsSource $source) {
}