You are here

public function FeedsCSVParser::sourceDefaults in Feeds 6

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

Define defaults.

Overrides FeedsPlugin::sourceDefaults

File

plugins/FeedsCSVParser.inc, line 90

Class

FeedsCSVParser
Parses a given file as a CSV file.

Code

public function sourceDefaults() {
  return array(
    'delimiter' => $this->config['delimiter'],
    'no_headers' => $this->config['no_headers'],
  );
}