You are here

public function SiteimproveDomainBase::__construct in Siteimprove 8

Constructs a new SiteimproveDomainBase object.

Parameters

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

string $plugin_id: The plugin_id for the plugin instance.

array $plugin_definition: The plugin implementation definition.

\Drupal\Core\Config\ConfigFactoryInterface $configFactory: The config factory.

Overrides PluginBase::__construct

2 calls to SiteimproveDomainBase::__construct()
Simple::__construct in src/Plugin/SiteimproveDomain/Simple.php
Constructs a new SiteimproveDomainBase object.
Single::__construct in src/Plugin/SiteimproveDomain/Single.php
Constructs a new SiteimproveDomainBase object.
2 methods override SiteimproveDomainBase::__construct()
Simple::__construct in src/Plugin/SiteimproveDomain/Simple.php
Constructs a new SiteimproveDomainBase object.
Single::__construct in src/Plugin/SiteimproveDomain/Single.php
Constructs a new SiteimproveDomainBase object.

File

src/Plugin/SiteimproveDomainBase.php, line 45

Class

SiteimproveDomainBase
Base class for Siteimprove domain plugins.

Namespace

Drupal\siteimprove\Plugin

Code

public function __construct(array $configuration, $plugin_id, array $plugin_definition, ConfigFactoryInterface $configFactory) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->configFactory = $configFactory;
}