You are here

commerce_reports.install in Commerce Reporting 7.3

Same filename and directory in other branches
  1. 7.4 commerce_reports.install

Install, update, and uninstall functions for the commerce_reports module.

File

commerce_reports.install
View source
<?php

/**
 * @file
 * Install, update, and uninstall functions for the commerce_reports module.
 */

/**
 * Implements hook_reports_install().
 */
function commerce_reports_install() {

  // Set default for date format.
  variable_set('date_format_commerce_reports', 'l j F o');
}

/**
 * Changes the default date format used by Commerce Reporting.
 */
function commerce_reports_update_7300(&$sandbox) {
  variable_set('date_format_commerce_reports', 'l j F o');
}

Functions

Namesort descending Description
commerce_reports_install Implements hook_reports_install().
commerce_reports_update_7300 Changes the default date format used by Commerce Reporting.