You are here

public function CsvParser::defaultConfiguration in Feeds 8.3

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides PluginBase::defaultConfiguration

File

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

Class

CsvParser
Defines a CSV feed parser.

Namespace

Drupal\feeds\Feeds\Parser

Code

public function defaultConfiguration() {
  return [
    'delimiter' => ',',
    'no_headers' => 0,
    'line_limit' => 100,
  ];
}