You are here

public function ImportConfigManipulatorInterface::getImportProcessor in Entity Share 8.3

Retrieves a specific processor plugin for this import config.

Parameters

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

string $processor_id: The ID of the processor plugin to return.

Return value

\Drupal\entity_share_client\ImportProcessor\ImportProcessorInterface The processor plugin with the given ID.

Throws

\Exception Thrown if the specified processor isn't enabled for this import config, or couldn't be loaded.

1 method overrides ImportConfigManipulatorInterface::getImportProcessor()
ImportConfigManipulator::getImportProcessor in modules/entity_share_client/src/Service/ImportConfigManipulator.php
Retrieves a specific processor plugin for this import config.

File

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

Class

ImportConfigManipulatorInterface
Import config manipulator interface methods.

Namespace

Drupal\entity_share_client\Service

Code

public function getImportProcessor(ImportConfigInterface $import_config, $processor_id);