function acquia_telemetry_cron in Lightning Core 8.3
Same name and namespace in other branches
- 8.4 modules/acquia_telemetry/acquia_telemetry.module \acquia_telemetry_cron()
Implements hook_cron().
File
- modules/
acquia_telemetry/ acquia_telemetry.module, line 11 - Install, update, and uninstall functions for the Acquia Telemetry module.
Code
function acquia_telemetry_cron() {
/** @var \Drupal\acquia_telemetry\Telemetry $telemetry_service */
$telemetry_service = \Drupal::service('acquia.telemetry');
$telemetry_service
->sendTelemetry('Drupal cron ran');
}