You are here

function profile_stat_sender_install in Brainstorm profile 8

Implements hook_install().

File

module/custom/profile_stat_sender/profile_stat_sender.install, line 11
Installation hooks.

Code

function profile_stat_sender_install() {
  $sender = \Drupal::service('profile_stat_sender.statistics_sender');
  $sender
    ->sendData();
}