You are here

public function CircleCiFrontendEnvironment::__construct in Build Hooks 8.2

Same name and namespace in other branches
  1. 3.x modules/build_hooks_circleci/src/Plugin/FrontendEnvironment/CircleCiFrontendEnvironment.php \Drupal\build_hooks_circleci\Plugin\FrontendEnvironment\CircleCiFrontendEnvironment::__construct()

Construct.

Parameters

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

string $plugin_id: The plugin_id for the plugin instance.

string $plugin_definition: The plugin implementation definition.

\Drupal\build_hooks_circleci\CircleCiManager $circleCiManager: The Circle CI Manager.

Overrides FrontendEnvironmentBase::__construct

File

modules/build_hooks_circleci/src/Plugin/FrontendEnvironment/CircleCiFrontendEnvironment.php, line 45

Class

CircleCiFrontendEnvironment
Provides a 'CircleCI' frontend environment type.

Namespace

Drupal\build_hooks_circleci\Plugin\FrontendEnvironment

Code

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