You are here

function vote_storylink_load in Vote Up/Down 5

Implementation of hook_load().

File

./vote_storylink.module, line 188

Code

function vote_storylink_load($node) {
  $links = links_load_links_for_node($node->nid, 'vote_storylink', 0, TRUE);
  return array(
    'vote_storylink_url' => $links[0]['url'],
    'vote_storylink' => $links,
  );
}