public function NetlifyFrontendEnvironment::frontEndEnvironmentSubmit in Build Hooks 8.2
Same name and namespace in other branches
- 3.x modules/build_hooks_netlify/src/Plugin/FrontendEnvironment/NetlifyFrontendEnvironment.php \Drupal\build_hooks_netlify\Plugin\FrontendEnvironment\NetlifyFrontendEnvironment::frontEndEnvironmentSubmit()
Overrides FrontendEnvironmentBase::frontEndEnvironmentSubmit
File
- modules/
build_hooks_netlify/ src/ Plugin/ FrontendEnvironment/ NetlifyFrontendEnvironment.php, line 106
Class
- NetlifyFrontendEnvironment
- Provides a 'Netlify' frontend environment type.
Namespace
Drupal\build_hooks_netlify\Plugin\FrontendEnvironmentCode
public function frontEndEnvironmentSubmit($form, FormStateInterface $form_state) {
$this->configuration['api_id'] = $form_state
->getValue('api_id');
$this->configuration['branch'] = $form_state
->getValue('branch');
$this->configuration['build_hook_url'] = $form_state
->getValue('build_hook_url');
}