You are here

public function ProdCheckProcessorBase::__construct in Production check & Production monitor 8

Constructs a Drupal\Component\Plugin\PluginBase object.

Parameters

array $configuration: A configuration array containing information about the plugin instance.

string $plugin_id: The plugin_id for the plugin instance.

mixed $plugin_definition: The plugin implementation definition.

Overrides PluginBase::__construct

1 call to ProdCheckProcessorBase::__construct()
ConfigurableProdCheckProcessorBase::__construct in src/Plugin/ProdCheckProcessor/ConfigurableProdCheckProcessorBase.php
Constructs a Drupal\Component\Plugin\PluginBase object.
1 method overrides ProdCheckProcessorBase::__construct()
ConfigurableProdCheckProcessorBase::__construct in src/Plugin/ProdCheckProcessor/ConfigurableProdCheckProcessorBase.php
Constructs a Drupal\Component\Plugin\PluginBase object.

File

src/Plugin/ProdCheckProcessor/ProdCheckProcessorBase.php, line 43

Class

ProdCheckProcessorBase
Base class for all the prod check processor plugins.

Namespace

Drupal\prod_check\Plugin\ProdCheckProcessor

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, ProdCheckPluginManager $manager, ProdCheckCategoryPluginManager $category_manager) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->checkManager = $manager;
  $this->categoryManager = $category_manager;
}