You are here

public function PatchInfoSourceBase::__construct in PatchInfo 8.2

Constructs a PatchInfoSourceBase 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.

\Drupal\Core\Logger\LoggerChannelFactoryInterface $logger_factory: The logger factory.

Overrides PluginBase::__construct

1 call to PatchInfoSourceBase::__construct()
ComposerJsonSource::__construct in modules/patchinfo_source_composer/src/Plugin/PatchInfo/Source/ComposerJsonSource.php
Constructs a PatchInfoSourceBase object.
1 method overrides PatchInfoSourceBase::__construct()
ComposerJsonSource::__construct in modules/patchinfo_source_composer/src/Plugin/PatchInfo/Source/ComposerJsonSource.php
Constructs a PatchInfoSourceBase object.

File

src/PatchInfoSourceBase.php, line 37

Class

PatchInfoSourceBase
Provides an abstract base class for patch source plugins.

Namespace

Drupal\patchinfo

Code

public function __construct(array $configuration, string $plugin_id, $plugin_definition, LoggerChannelFactoryInterface $logger_factory) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->loggerFactory = $logger_factory;
}