You are here

public function DirectoryFetcher::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/Fetcher/DirectoryFetcher.php, line 105

Class

DirectoryFetcher
Defines a directory fetcher.

Namespace

Drupal\feeds\Feeds\Fetcher

Code

public function defaultConfiguration() {
  return [
    'allowed_extensions' => 'txt csv tsv xml opml',
    'allowed_schemes' => [
      'public',
    ],
    'recursive_scan' => FALSE,
  ];
}