public function BitbucketFrontendEnvironment::frontEndEnvironmentSubmit in Build Hooks 3.x
Same name and namespace in other branches
- 8.2 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 145
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');
}