Imagen de karlos

Que drupal es versátil y modular es como decir que el sol calienta. Este tipo de hook lo demuestran.
Con este hook creamos dos enlaces en la parte inferior de un nodo como lo hacen otros módulos como comment etc

<?php
/**
 * Implementation of hook_link().
 * 
*/
function movida_link($type, $object, $teaser = FALSE) {
 
  if ($type == 'node') {
    $node_type= variable_get('movida_'. $type, FALSE);
    if ($node_type == '1') {
      $links = array();
      $links['gears_create'] = array(
        'title' => t('Create'),
        'href' => "manifest/node_create",
      );
      $links['movida_delete'] = array(
        'title' => t('Delete offline'),
        'href' => "manifest/node_delete",
      );
      return $links;
    }
  }
}
?>