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\FormCode
function ajaxReplaceThresholdsForm($form, FormStateInterface $form_state) {
return $form['plugin_container']['thresholds'];
}