You are here

public function DatabaseAggregatorSensorPlugin::fieldsReplace in Monitoring 8

Returns the updated 'output_table' 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 667
Contains \Drupal\monitoring\Plugin\monitoring\SensorPlugin\DatabaseAggregatorSensorPlugin.

Class

DatabaseAggregatorSensorPlugin
Database aggregator able to query a single db table.

Namespace

Drupal\monitoring\Plugin\monitoring\SensorPlugin

Code

public function fieldsReplace(array $form, FormStateInterface $form_state) {
  return $form['plugin_container']['settings']['output_table'];
}