You are here

function monitoring_sensor_settings_key in Monitoring 7

Build the sensor settings key.

Parameters

string $sensor_name: Sensor name.

Return value

string Sensor settings key.

12 calls to monitoring_sensor_settings_key()
MonitoringCoreTest::testSensorEnabledModulesUI in test/tests/monitoring.core.test
Tests the UI/settings of the enabled modules sensor.
MonitoringUITest::assertThresholdSettingsUIDefaults in test/tests/monitoring.ui.test
Asserts that defaults are set correctly in the settings form.
MonitoringUITest::submitThresholdSettings in test/tests/monitoring.ui.test
Submits a threshold settings form for a given sensor.
MonitoringUITest::testAggregateSensorTimeIntervalConfig in test/tests/monitoring.ui.test
Tests the time interval settings UI of the database aggregator sensor.
monitoring_drush_purge_settings in ./monitoring.drush.inc
Drush callback to purge sensor settings.

... See full list

File

./monitoring.module, line 438
Monitoring bootstrap file.

Code

function monitoring_sensor_settings_key($sensor_name) {
  return 'monitoring_' . $sensor_name . '_settings';
}