public function HttpFetcher::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/ HttpFetcher.php, line 208
Class
- HttpFetcher
- Defines an HTTP fetcher.
Namespace
Drupal\feeds\Feeds\FetcherCode
public function defaultConfiguration() {
return [
// @todo auto_detect_feeds causes issues with downloading files that are
// not a RSS feed. Set the default to TRUE as soon as that issue is
// resolved.
'auto_detect_feeds' => FALSE,
'use_pubsubhubbub' => FALSE,
'always_download' => FALSE,
'fallback_hub' => '',
'request_timeout' => 30,
];
}