You are here

public function GenericFrontendEnvironment::frontEndEnvironmentSubmit in Build Hooks 8.2

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

Overrides FrontendEnvironmentBase::frontEndEnvironmentSubmit

File

src/Plugin/FrontendEnvironment/GenericFrontendEnvironment.php, line 47

Class

GenericFrontendEnvironment
Provides a 'Generic' frontend environment type.

Namespace

Drupal\build_hooks\Plugin\FrontendEnvironment

Code

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