profile_stat_sender.install in Brainstorm profile 8
Installation hooks.
File
module/custom/profile_stat_sender/profile_stat_sender.installView source
<?php
/**
* @file
* Installation hooks.
*/
/**
* Implements hook_install().
*/
function profile_stat_sender_install() {
$sender = \Drupal::service('profile_stat_sender.statistics_sender');
$sender
->sendData();
}
Functions
Name | Description |
---|---|
profile_stat_sender_install | Implements hook_install(). |