You are here

public function NetlifyFrontendEnvironment::__construct in Build Hooks 8.2

Same name and namespace in other branches
  1. 3.x modules/build_hooks_netlify/src/Plugin/FrontendEnvironment/NetlifyFrontendEnvironment.php \Drupal\build_hooks_netlify\Plugin\FrontendEnvironment\NetlifyFrontendEnvironment::__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_netlify\NetlifyManager $netlifyManager: The Netlify Manager.

Overrides FrontendEnvironmentBase::__construct

File

modules/build_hooks_netlify/src/Plugin/FrontendEnvironment/NetlifyFrontendEnvironment.php, line 46

Class

NetlifyFrontendEnvironment
Provides a 'Netlify' frontend environment type.

Namespace

Drupal\build_hooks_netlify\Plugin\FrontendEnvironment

Code

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