You are here

public static function CircleV2::refresh in Build Hooks 8.2

Same name and namespace in other branches
  1. 3.x modules/build_hooks_circleci/src/Plugin/FrontendEnvironment/CircleV2.php \Drupal\build_hooks_circleci\Plugin\FrontendEnvironment\CircleV2::refresh()

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/CircleV2.php, line 381

Class

CircleV2
Defines a circle v2 environment.

Namespace

Drupal\build_hooks_circleci\Plugin\FrontendEnvironment

Code

public static function refresh(array $form, FormStateInterface $form_state) {
  return $form['builds'];
}