You are here

public function FeedsConfigurable::configDefaults in Feeds 8.2

Return default configuration.

@todo rename to getConfigDefaults().

Return value

Array where keys are the variable names of the configuration elements and values are their default values.

4 calls to FeedsConfigurable::configDefaults()
FeedsConfigurable::addConfig in lib/Drupal/feeds/Plugin/FeedsConfigurable.php
Similar to setConfig but adds to existing configuration.
FeedsConfigurable::getConfig in lib/Drupal/feeds/Plugin/FeedsConfigurable.php
Implements getConfig().
FeedsConfigurable::setConfig in lib/Drupal/feeds/Plugin/FeedsConfigurable.php
Set configuration.
FeedsConfigurable::__construct in lib/Drupal/feeds/Plugin/FeedsConfigurable.php
Constructor, set id and load default configuration.
6 methods override FeedsConfigurable::configDefaults()
FeedsCSVParser::configDefaults in lib/Drupal/feeds/Plugin/feeds/parser/FeedsCSVParser.php
Define default configuration.
FeedsFileFetcher::configDefaults in lib/Drupal/feeds/Plugin/feeds/fetcher/FeedsFileFetcher.php
Overrides parent::configDefaults().
FeedsHTTPFetcher::configDefaults in lib/Drupal/feeds/Plugin/feeds/fetcher/FeedsHTTPFetcher.php
Override parent::configDefaults().
FeedsImporter::configDefaults in lib/Drupal/feeds/FeedsImporter.php
Return defaults for feed configuration.
FeedsProcessor::configDefaults in lib/Drupal/feeds/Plugin/FeedsProcessor.php
Declare default configuration.

... See full list

File

lib/Drupal/feeds/Plugin/FeedsConfigurable.php, line 174
FeedsConfigurable and helper functions.

Class

FeedsConfigurable
Base class for configurable classes. Captures configuration handling, form handling and distinguishes between in-memory configuration and persistent configuration.

Namespace

Drupal\feeds\Plugin

Code

public function configDefaults() {
  return array();
}