You are here

public function FeedsConfigurable::copy in Feeds 7.2

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

Copy a configuration.

Parameters

FeedsConfigurable $configurable: The FeedsConfigurable instance to take the configuration from.

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

File

includes/FeedsConfigurable.inc, line 177
FeedsConfigurable and helper functions.

Class

FeedsConfigurable
Base class for configurable classes.

Code

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