You are here

public function TestEnvironment::defaultConfiguration in Build Hooks 3.x

Same name and namespace in other branches
  1. 8.2 tests/modules/build_hooks_test/src/Plugin/FrontendEnvironment/TestEnvironment.php \Drupal\build_hooks_test\Plugin\FrontendEnvironment\TestEnvironment::defaultConfiguration()

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides FrontendEnvironmentBase::defaultConfiguration

File

tests/modules/build_hooks_test/src/Plugin/FrontendEnvironment/TestEnvironment.php, line 25

Class

TestEnvironment
Defines a test environment plugin.

Namespace

Drupal\build_hooks_test\Plugin\FrontendEnvironment

Code

public function defaultConfiguration() {
  return parent::defaultConfiguration() + [
    'whiz' => 'whang',
  ];
}