You are here

public function FeedsCSVParser::sourceDefaults in Feeds 7.2

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

Define defaults.

Overrides FeedsPlugin::sourceDefaults

File

plugins/FeedsCSVParser.inc, line 141
Contains the FeedsCSVParser class.

Class

FeedsCSVParser
Parses a given file as a CSV file.

Code

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