You are here

public function ContentEntityAggregatorSensorPlugin::fieldsReplace in Monitoring 8

Returns the updated 'verbose_fields' 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/ContentEntityAggregatorSensorPlugin.php, line 569
Contains \Drupal\monitoring\Plugin\monitoring\SensorPlugin\ContentEntityAggregatorSensorPlugin.

Class

ContentEntityAggregatorSensorPlugin
Content entity database aggregator.

Namespace

Drupal\monitoring\Plugin\monitoring\SensorPlugin

Code

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