You are here

bouncer.inc in Mobile Codes 6.2

Bouncer module integration.

File

includes/bouncer.inc
View source
<?php

/**
 * @file
 * Bouncer module integration.
 */

/**
 * Implements hook_mobile_codes_settings_alter() on behalf of bouncer.module.
 */
function bouncer_mobile_codes_settings_alter($settings) {
  $settings['url']['bouncer'] = array(
    'label' => t('Track URL'),
    'description' => t('Track URL with the Bouncer module - !configure', array(
      '!configure' => l(t('configure'), 'admin/settings/bouncer'),
    )),
    'weight' => 5,
  );
}

/**
 * Implements mobile_codes_data_TYPE_SETTING().
 */
function mobile_codes_data_url_bouncer(&$data) {
  $data = bouncer_url($data);
}

Functions

Namesort descending Description
bouncer_mobile_codes_settings_alter Implements hook_mobile_codes_settings_alter() on behalf of bouncer.module.
mobile_codes_data_url_bouncer Implements mobile_codes_data_TYPE_SETTING().