public static function CircleCiFrontendEnvironment::refreshDeploymentTable in Build Hooks 8.2
Same name and namespace in other branches
- 3.x modules/build_hooks_circleci/src/Plugin/FrontendEnvironment/CircleCiFrontendEnvironment.php \Drupal\build_hooks_circleci\Plugin\FrontendEnvironment\CircleCiFrontendEnvironment::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_circleci/ src/ Plugin/ FrontendEnvironment/ CircleCiFrontendEnvironment.php, line 212
Class
- CircleCiFrontendEnvironment
- Provides a 'CircleCI' frontend environment type.
Namespace
Drupal\build_hooks_circleci\Plugin\FrontendEnvironmentCode
public static function refreshDeploymentTable(array $form, FormStateInterface $form_state) {
return $form['latestCircleCiDeployments']['table'];
}