Location: PHPKode > scripts > SexyBookmarks > sexybookmarks/includes/boxes.inc
<?php
/**
 * @file
 * Boxes module integration.
 */

/**
 * Implementation of hook_default_box()
 */
function sexybookmarks_default_box() {
  $boxs = array();

  $box = new stdClass;
  $box->disabled = FALSE; /* Edit this to true to make a default box disabled initially */
  $box->api_version = 1;
  $box->delta = 'example_sexybookmarks';
  $box->plugin_key = 'simple';
  $box->title = 'Example: SexyBookmarks';
  $box->description = 'Example: SexyBookmarks';
  $box->options = array(
    'body' => '<?php
$profile = \'default\';
$url = url(\'<front>\', array(\'absolute\' => TRUE));
$title = variable_get(\'site_name\', \'Drupal\');

print theme(\'sexybookmarks\', array(
  \'profile\' => $profile,
  \'url\' => $url,
  \'title\' => $title,
  \'id\' => \'block-sexybookmarks-example\',
));
?>',
    'format' => '3',
  );
  $boxs['example_sexybookmarks'] = $box;

  return $boxs;
}
Return current item: SexyBookmarks