You are here

public function FeedsCrawlerPattern::sourceDefaults in Feeds Crawler 7.2

Overrides FeedsCrawlerBase::sourceDefaults

1 call to FeedsCrawlerPattern::sourceDefaults()
FeedsCrawlerPattern::beginFetch in src/FeedsCrawlerPattern.php
Called before fetching the next link.

File

src/FeedsCrawlerPattern.php, line 74
Contains FeedsCrawlerPattern.

Class

FeedsCrawlerPattern
Crawls links using a URL pattern.

Code

public function sourceDefaults() {
  return array(
    'pattern' => '{full_path}?page={index}',
    'initial_index' => 0,
    'increment' => 1,
  ) + parent::sourceDefaults();
}