You are here

public static function CircleCiFrontendEnvironment::refreshDeploymentTable in Build Hooks 3.x

Same name and namespace in other branches
  1. 8.2 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 215

Class

CircleCiFrontendEnvironment
Provides a 'CircleCI' frontend environment type.

Namespace

Drupal\build_hooks_circleci\Plugin\FrontendEnvironment

Code

public static function refreshDeploymentTable(array $form, FormStateInterface $form_state) {
  return $form['latestCircleCiDeployments']['table'];
}