You are here

public function TestEnvironment::frontEndEnvironmentSubmit in Build Hooks 8.2

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

Overrides FrontendEnvironmentBase::frontEndEnvironmentSubmit

File

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

Class

TestEnvironment
Defines a test environment plugin.

Namespace

Drupal\build_hooks_test\Plugin\FrontendEnvironment

Code

public function frontEndEnvironmentSubmit($form, FormStateInterface $form_state) {
  parent::frontEndEnvironmentSubmit($form, $form_state);
  $this->configuration['whiz'] = $form_state
    ->getValue('whiz');
}