You are here

profile_stat_sender.module in Brainstorm profile 8

Profile statistic usage client module.

Sends site url, name and profile name for improve distribution quality. Developed by ADCI Solutions.

File

module/custom/profile_stat_sender/profile_stat_sender.module
View source
<?php

/**
 * @file
 * Profile statistic usage client module.
 *
 * Sends site url, name and profile name for improve distribution quality.
 * Developed by ADCI Solutions.
 */

/**
 * Implements hook_cron().
 */
function profile_stat_sender_cron() {
  $sender = \Drupal::service('profile_stat_sender.statistics_sender');
  $sender
    ->sendData();
}

Functions

Namesort descending Description
profile_stat_sender_cron Implements hook_cron().