You are here

function theme_nd_title_h2_link in Node displays 7

Same name and namespace in other branches
  1. 6.3 nd.module \theme_nd_title_h2_link()
  2. 6 theme/theme.inc \theme_nd_title_h2_link()
  3. 6.2 nd.module \theme_nd_title_h2_link()

File

./nd.module, line 465
Node displays.

Code

function theme_nd_title_h2_link($field) {
  $field = $field['field'];
  return '<h2>' . l($field['object']->title, 'node/' . $field['object']->nid) . '</h2>';
}