You are here

public function FeedsConfigurable::getConfig in Feeds 8.2

Implements getConfig().

Return configuration array, ensure that all default values are present.

3 calls to FeedsConfigurable::getConfig()
FeedsConfigurable::__get in lib/Drupal/feeds/Plugin/FeedsConfigurable.php
Override magic method __get(). Make sure that $this->config goes through getConfig().
FeedsImporter::getConfig in lib/Drupal/feeds/FeedsImporter.php
Get configuration of this feed.
FeedsSource::save in lib/Drupal/feeds/FeedsSource.php
Save configuration.
1 method overrides FeedsConfigurable::getConfig()
FeedsImporter::getConfig in lib/Drupal/feeds/FeedsImporter.php
Get configuration of this feed.

File

lib/Drupal/feeds/Plugin/FeedsConfigurable.php, line 160
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 getConfig() {
  $defaults = $this
    ->configDefaults();
  return $this->config + $defaults;
}