public function DatabaseAggregatorSensorPlugin::conditionsReplace in Monitoring 8
Returns the updated 'conditions' fieldset for replacement by ajax.
Parameters
array $form: The updated form structure array.
FormStateInterface $form_state: The form state structure.
Return value
array The updated form component for the selected fields.
File
- src/
Plugin/ monitoring/ SensorPlugin/ DatabaseAggregatorSensorPlugin.php, line 636 - Contains \Drupal\monitoring\Plugin\monitoring\SensorPlugin\DatabaseAggregatorSensorPlugin.
Class
- DatabaseAggregatorSensorPlugin
- Database aggregator able to query a single db table.
Namespace
Drupal\monitoring\Plugin\monitoring\SensorPluginCode
public function conditionsReplace(array $form, FormStateInterface $form_state) {
return $form['plugin_container']['settings']['conditions_table'];
}