You are here

public function CircleV2::defaultConfiguration in Build Hooks 8.2

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

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides FrontendEnvironmentBase::defaultConfiguration

File

modules/build_hooks_circleci/src/Plugin/FrontendEnvironment/CircleV2.php, line 79

Class

CircleV2
Defines a circle v2 environment.

Namespace

Drupal\build_hooks_circleci\Plugin\FrontendEnvironment

Code

public function defaultConfiguration() {
  return parent::defaultConfiguration() + [
    'token' => '',
    'type' => 'branch',
    'project' => '',
    'reference' => '',
    'parameters' => [],
  ];
}