function attachment_links_theme in Attachment Links 7
Same name and namespace in other branches
- 6 attachment_links.module \attachment_links_theme()
 
Implements hook_theme().
File
- ./
attachment_links.module, line 129  
Code
function attachment_links_theme($existing, $type, $theme, $path) {
  $hooks['attachment_links'] = array(
    'template' => 'attachment-links',
    'variables' => array(
      'node' => NULL,
    ),
  );
  $hooks['attachment_links_formatter_attachment_links_preferred'] = array(
    'arguments' => array(
      'element' => NULL,
    ),
  );
  $hooks['attachment_links_formatter_attachment_links_newest'] = array(
    'arguments' => array(
      'element' => NULL,
    ),
  );
  return $hooks;
}