You are here

public function ImportConfigManipulatorInterface::getImportProcessorsByStage in Entity Share 8.3

Loads this import config's processors for a specific stage.

Parameters

\Drupal\entity_share_client\Entity\ImportConfigInterface $import_config: The import config.

string $stage: The stage for which to return the processors. One of the \Drupal\entity_share_client\ImportProcessor\ ImportProcessorInterface::STAGE_* constants.

array[] $overrides: (optional) Overrides to apply to the import config's processors, keyed by processor IDs with their respective overridden settings as values.

Return value

\Drupal\entity_share_client\ImportProcessor\ImportProcessorInterface[] An array of all enabled processors that support the given stage, ordered by the weight for that stage.

1 method overrides ImportConfigManipulatorInterface::getImportProcessorsByStage()
ImportConfigManipulator::getImportProcessorsByStage in modules/entity_share_client/src/Service/ImportConfigManipulator.php
Loads this import config's processors for a specific stage.

File

modules/entity_share_client/src/Service/ImportConfigManipulatorInterface.php, line 74

Class

ImportConfigManipulatorInterface
Import config manipulator interface methods.

Namespace

Drupal\entity_share_client\Service

Code

public function getImportProcessorsByStage(ImportConfigInterface $import_config, $stage, array $overrides = []);