You are here

public function TemporaryFilesUsagesSensorPlugin::buildConfigurationForm in Monitoring 8

Adds UI for variables table, conditions and keys.

Overrides DatabaseAggregatorSensorPlugin::buildConfigurationForm

File

src/Plugin/monitoring/SensorPlugin/TemporaryFilesUsagesSensorPlugin.php, line 142

Class

TemporaryFilesUsagesSensorPlugin
Monitors temporary files usages.

Namespace

Drupal\monitoring\Plugin\monitoring\SensorPlugin

Code

public function buildConfigurationForm(array $form, FormStateInterface $form_state) {
  $form = parent::buildConfigurationForm($form, $form_state);
  $form['aggregation']['#access'] = FALSE;
  return $form;
}