You are here

function vcard_mobile_codes_default_mobile_codes_preset_alter in Mobile Codes 6.2

Same name and namespace in other branches
  1. 7.2 includes/vcard.inc \vcard_mobile_codes_default_mobile_codes_preset_alter()

Implements hook_mobile_codes_default_mobile_codes_preset_alter() on behalf of vcard.module.

File

includes/vcard.inc, line 10
vCard module integration

Code

function vcard_mobile_codes_default_mobile_codes_preset_alter($export) {
  $preset = new stdClass();
  $preset->disabled = FALSE;

  /* Edit this to true to make a default preset disabled initially */
  $preset->api_version = 2;
  $preset->name = 'block_user_vcard';
  $preset->provider = 'google';
  $preset->defaults = array(
    'width' => '180',
    'height' => '180',
    'output_encoding' => 'UTF-8',
  );
  $export['block_user_vcard'] = $preset;
}