public function BitbucketFrontendEnvironment::frontEndEnvironmentSubmit in Build Hooks 8.2
Same name and namespace in other branches
- 3.x modules/build_hooks_bitbucket/src/Plugin/FrontendEnvironment/BitbucketFrontendEnvironment.php \Drupal\build_hooks_bitbucket\Plugin\FrontendEnvironment\BitbucketFrontendEnvironment::frontEndEnvironmentSubmit()
Overrides FrontendEnvironmentBase::frontEndEnvironmentSubmit
File
- modules/
build_hooks_bitbucket/ src/ Plugin/ FrontendEnvironment/ BitbucketFrontendEnvironment.php, line 144
Class
- BitbucketFrontendEnvironment
- Provides a 'Bitbucket pipelines' frontend environment type.
Namespace
Drupal\build_hooks_bitbucket\Plugin\FrontendEnvironmentCode
public function frontEndEnvironmentSubmit($form, FormStateInterface $form_state) {
$this->configuration['repo'] = $form_state
->getValue('repo');
$this->configuration['ref'] = $form_state
->getValue('ref');
$this->configuration['selector'] = $form_state
->getValue('selector');
}