You are here

commerce_exchanger.module in Commerce Exchanger 8

Main module file.

File

commerce_exchanger.module
View source
<?php

/**
 * @file
 * Main module file.
 */

/**
 * Implements hook_cron().
 */
function commerce_exchanger_cron() {

  // Import exchange rates.
  \Drupal::service('commerce_exchanger.import')
    ->run();
}

Functions

Namesort descending Description
commerce_exchanger_cron Implements hook_cron().