You are here

pay_progress.module in Pay 7

Same filename and directory in other branches
  1. 6 modules/pay_progress/pay_progress.module

Pay Progress module

File

modules/pay_progress/pay_progress.module
View source
<?php

/**
 * @file
 * Pay Progress module
 */

/**
 * Implements hook_pay_form_displays_alter().
 */
function pay_progress_pay_form_displays_alter(&$displays) {
  $displays['pay_progress'] = array(
    'title' => t('Progress bar for total amount'),
  );
  $displays['pay_progress_total_paid'] = array(
    'title' => t('Progress bar for total paid'),
  );
}

/**
 * Implements hook_theme().
 */
function pay_progress_theme() {
  module_load_include('theme.inc', 'pay_progress', 'theme/pay_progress');
  return pay_progress_theme_theme();
}

Functions

Namesort descending Description
pay_progress_pay_form_displays_alter Implements hook_pay_form_displays_alter().
pay_progress_theme Implements hook_theme().