You are here

public function ScannerPluginBase::__construct in Search and Replace Scanner 8

Constructs a ScannerPluginBase object.

Parameters

array $configuration: The configuration.

string $plugin_id: The plugin id.

mixed $plugin_definition: The plugin definition.

\Drupal\Core\TempStore\PrivateTempStoreFactory $tempStore: The temporary store.

\Drupal\scanner\Plugin\ScannerPluginManager $scannerManager: The scanner manager.

Overrides PluginBase::__construct

File

src/Plugin/ScannerPluginBase.php, line 45

Class

ScannerPluginBase
Plugin for ScannerPluginBase class.

Namespace

Drupal\scanner\Plugin

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, PrivateTempStoreFactory $tempStore, ScannerPluginManager $scannerManager) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->tempStore = $tempStore;
  $this->scannerManager = $scannerManager;
}