You are here

function vcard_mobile_codes_token_info_alter_alter in Mobile Codes 7.2

Implements hook_mobile_codes_token_info_alter_alter() on behalf of vcard.module.

File

includes/vcard.inc, line 29
vCard module integration

Code

function vcard_mobile_codes_token_info_alter_alter(&$data) {
  $data['tokens']['user']['mobile-codes'] = array(
    'name' => t('Mobile Code'),
    'description' => t('The users vCard as a Mobile Code'),
    'type' => 'mobile-codes',
  );
}