You are here

public function ParserBase::defaultConfiguration in Feeds extensible parsers 8

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides PluginBase::defaultConfiguration

2 calls to ParserBase::defaultConfiguration()
ParserBase::configFormValidate in src/Feeds/Parser/ParserBase.php
XmlParser::defaultConfiguration in src/Feeds/Parser/XmlParser.php
Gets default configuration for this plugin.
1 method overrides ParserBase::defaultConfiguration()
XmlParser::defaultConfiguration in src/Feeds/Parser/XmlParser.php
Gets default configuration for this plugin.

File

src/Feeds/Parser/ParserBase.php, line 455

Class

ParserBase
The Feeds extensible parser.

Namespace

Drupal\feeds_ex\Feeds\Parser

Code

public function defaultConfiguration() {
  return [
    'sources' => [],
    'context' => [
      'value' => '',
    ],
    'display_errors' => FALSE,
    'source_encoding' => [
      'auto',
    ],
    'debug_mode' => FALSE,
    'line_limit' => 100,
  ];
}