You are here

public function FeedsCrawlerBase::sourceForm in Feeds Crawler 7.2

1 call to FeedsCrawlerBase::sourceForm()
FeedsCrawlerPattern::sourceForm in src/FeedsCrawlerPattern.php
1 method overrides FeedsCrawlerBase::sourceForm()
FeedsCrawlerPattern::sourceForm in src/FeedsCrawlerPattern.php

File

src/FeedsCrawlerBase.php, line 145
Contains FeedsCrawler.

Class

FeedsCrawlerBase
The fetcher class that implements crawling.

Code

public function sourceForm($source_config) {
  $form = parent::sourceForm($source_config);
  $form['crawled'] = array(
    '#type' => 'hidden',
    '#value' => !empty($source_config['crawled']),
  );
  return $form;
}