public static function BitbucketFrontendEnvironment::refreshDeploymentTable 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::refreshDeploymentTable()
Ajax form callback to rebuild the latest deployments table.
Parameters
array $form: The form.
\Drupal\Core\Form\FormStateInterface $form_state: The form state of the form.
Return value
array The form array to add back to the form.
File
- modules/
build_hooks_bitbucket/ src/ Plugin/ FrontendEnvironment/ BitbucketFrontendEnvironment.php, line 256
Class
- BitbucketFrontendEnvironment
- Provides a 'Bitbucket pipelines' frontend environment type.
Namespace
Drupal\build_hooks_bitbucket\Plugin\FrontendEnvironmentCode
public static function refreshDeploymentTable(array $form, FormStateInterface $form_state) {
return $form['bitbucketDeployments']['table'];
}