You are here

function block_mobile_codes_default_mobile_codes_preset_alter in Mobile Codes 6.2

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

Implements hook_mobile_codes_default_mobile_codes_preset_alter() on behalf of block.module.

File

includes/block.inc, line 10
Block module integration.

Code

function block_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_node_url';
  $preset->provider = 'google';
  $preset->defaults = array(
    'width' => '180',
    'height' => '180',
    'output_encoding' => 'UTF-8',
  );
  $export['block_node_url'] = $preset;
}