You are here

public function FeedsConfigurable::copy in Feeds 8.2

Copy a configuration.

1 call to FeedsConfigurable::copy()
FeedsImporter::copy in lib/Drupal/feeds/FeedsImporter.php
Copy a FeedsImporter configuration into this importer.
1 method overrides FeedsConfigurable::copy()
FeedsImporter::copy in lib/Drupal/feeds/FeedsImporter.php
Copy a FeedsImporter configuration into this importer.

File

lib/Drupal/feeds/Plugin/FeedsConfigurable.php, line 114
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 copy(FeedsConfigurable $configurable) {
  $this
    ->setConfig($configurable->config);
}