You are here

public function MultigraphForm::sensorsReplace in Monitoring 8

Returns the updated 'sensors_add' fieldset for replacement by ajax.

Parameters

array $form: The updated form structure array.

\Drupal\Core\Form\FormStateInterface $form_state: The form state structure.

Return value

array The updated form component for the selected sensors.

File

modules/multigraph/src/Form/MultigraphForm.php, line 195
Contains \Drupal\monitoring_multigraph\Form\MultigraphForm.

Class

MultigraphForm
Multigraph settings form controller.

Namespace

Drupal\monitoring_multigraph\Form

Code

public function sensorsReplace(array $form, FormStateInterface $form_state) {
  return $form['sensor_list'];
}