You are here

public function CsvParser::defaultFeedConfiguration in Feeds 8.3

Returns default feed configuration.

Return value

array The default feed configuration.

Overrides PluginBase::defaultFeedConfiguration

File

src/Feeds/Parser/CsvParser.php, line 114

Class

CsvParser
Defines a CSV feed parser.

Namespace

Drupal\feeds\Feeds\Parser

Code

public function defaultFeedConfiguration() {
  return [
    'delimiter' => $this->configuration['delimiter'],
    'no_headers' => $this->configuration['no_headers'],
  ];
}