You are here

public function FeedsFileFetcher::configForm in Feeds 6

Same name and namespace in other branches
  1. 7.2 plugins/FeedsFileFetcher.inc \FeedsFileFetcher::configForm()
  2. 7 plugins/FeedsFileFetcher.inc \FeedsFileFetcher::configForm()

Override parent::configForm().

Overrides FeedsConfigurable::configForm

File

plugins/FeedsFileFetcher.inc, line 125
Home of the FeedsFileFetcher and related classes.

Class

FeedsFileFetcher
Fetches data via HTTP.

Code

public function configForm(&$form_state) {
  $form = array();
  $form['direct'] = array(
    '#type' => 'checkbox',
    '#title' => t('Supply path to file directly'),
    '#description' => t('For experts. If checked users can specify a path to a file when importing rather than uploading a file. This is useful when files to be imported are already present on server.'),
    '#default_value' => $this->config['direct'],
  );
  return $form;
}