You are here

public function Single::__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 SiteimproveDomainBase::__construct

File

src/Plugin/SiteimproveDomain/Single.php, line 35

Class

Single
Provides simple plugin instance of Siteimprove Domain settings.

Namespace

Drupal\siteimprove\Plugin\SiteimproveDomain

Code

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