You are here

function SensorForm::ajaxReplaceThresholdsForm in Monitoring 8

Ajax callback for threshold sensors settings form.

File

src/Form/SensorForm.php, line 227
Contains \Drupal\monitoring\Form\SensorForm.

Class

SensorForm
Sensor settings form controller.

Namespace

Drupal\monitoring\Form

Code

function ajaxReplaceThresholdsForm($form, FormStateInterface $form_state) {
  return $form['plugin_container']['thresholds'];
}