You are here

public function BitbucketFrontendEnvironment::__construct in Build Hooks 3.x

Same name and namespace in other branches
  1. 8.2 modules/build_hooks_bitbucket/src/Plugin/FrontendEnvironment/BitbucketFrontendEnvironment.php \Drupal\build_hooks_bitbucket\Plugin\FrontendEnvironment\BitbucketFrontendEnvironment::__construct()

Construct.

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\build_hooks_bitbucket\BitbucketManager $bitbucketManager: The Bitbucket pipelines Manager.

Overrides FrontendEnvironmentBase::__construct

File

modules/build_hooks_bitbucket/src/Plugin/FrontendEnvironment/BitbucketFrontendEnvironment.php, line 46

Class

BitbucketFrontendEnvironment
Provides a 'Bitbucket pipelines' frontend environment type.

Namespace

Drupal\build_hooks_bitbucket\Plugin\FrontendEnvironment

Code

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