You are here

public function PaymentTurnoverSensorPlugin::getDefaultConfiguration in Monitoring 8

Default configuration for a sensor.

Return value

array An array of default configurations.

Overrides ContentEntityAggregatorSensorPlugin::getDefaultConfiguration

File

src/Plugin/monitoring/SensorPlugin/PaymentTurnoverSensorPlugin.php, line 66
Contains \Drupal\monitoring\Plugin\monitoring\SensorPlugin\SensorPaymentTurnover.

Class

PaymentTurnoverSensorPlugin
Monitors payment turnover stats.

Namespace

Drupal\monitoring\Plugin\monitoring\SensorPlugin

Code

public function getDefaultConfiguration() {
  $default_config = array(
    'settings' => array(
      'entity_type' => 'payment',
    ),
  );
  return $default_config;
}