public function ContentEntityAggregatorSensorPlugin::getDefaultConfiguration in Monitoring 8
Default configuration for a sensor.
Return value
array An array of default configurations.
Overrides DatabaseAggregatorSensorPluginBase::getDefaultConfiguration
1 method overrides ContentEntityAggregatorSensorPlugin::getDefaultConfiguration()
- PaymentTurnoverSensorPlugin::getDefaultConfiguration in src/
Plugin/ monitoring/ SensorPlugin/ PaymentTurnoverSensorPlugin.php - Default configuration for a sensor.
File
- src/
Plugin/ monitoring/ SensorPlugin/ ContentEntityAggregatorSensorPlugin.php, line 166 - Contains \Drupal\monitoring\Plugin\monitoring\SensorPlugin\ContentEntityAggregatorSensorPlugin.
Class
- ContentEntityAggregatorSensorPlugin
- Content entity database aggregator.
Namespace
Drupal\monitoring\Plugin\monitoring\SensorPluginCode
public function getDefaultConfiguration() {
$default_config = array(
'settings' => array(
'entity_type' => 'node',
),
);
return $default_config;
}