You are here

public function CircleCiFrontendEnvironment::frontEndEnvironmentSubmit in Build Hooks 8.2

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

Overrides FrontendEnvironmentBase::frontEndEnvironmentSubmit

File

modules/build_hooks_circleci/src/Plugin/FrontendEnvironment/CircleCiFrontendEnvironment.php, line 95

Class

CircleCiFrontendEnvironment
Provides a 'CircleCI' frontend environment type.

Namespace

Drupal\build_hooks_circleci\Plugin\FrontendEnvironment

Code

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