You are here

public function CircleV2::updateForm in Build Hooks 3.x

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

Ajax callback for the "Add another parameter" button.

File

modules/build_hooks_circleci/src/Plugin/FrontendEnvironment/CircleV2.php, line 235

Class

CircleV2
Defines a circle v2 environment.

Namespace

Drupal\build_hooks_circleci\Plugin\FrontendEnvironment

Code

public function updateForm(array $form, FormStateInterface $form_state) {
  return $form['settings']['parameters'] ?? [];
}