You are here

public function FeedsConfigurable::copy in Feeds 7

Same name and namespace in other branches
  1. 6 includes/FeedsConfigurable.inc \FeedsConfigurable::copy()
  2. 7.2 includes/FeedsConfigurable.inc \FeedsConfigurable::copy()

Copy a configuration.

1 method overrides FeedsConfigurable::copy()
FeedsImporter::copy in includes/FeedsImporter.inc
Copy a FeedsImporter configuration into this importer.

File

includes/FeedsConfigurable.inc, line 101
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.

Code

public function copy(FeedsConfigurable $configurable) {
  $this
    ->setConfig($configurable->config);
}