You are here

public function FeedsCSVParser::sourceDefaults in Feeds 8.2

Define defaults.

Overrides FeedsPlugin::sourceDefaults

File

lib/Drupal/feeds/Plugin/feeds/parser/FeedsCSVParser.php, line 123
Contains the FeedsCSVParser class.

Class

FeedsCSVParser
Defines a CSV feed parser.

Namespace

Drupal\feeds\Plugin\feeds\parser

Code

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