function theme_private_node_link in Private 5
Same name and namespace in other branches
- 6 private.module \theme_private_node_link()
- 7.2 private.module \theme_private_node_link()
- 7 private.module \theme_private_node_link()
1 theme call to theme_private_node_link()
File
- ./
private.module, line 219 - This is an example illustrating how to restrict access to nodes based on some criterion associated with the user.
Code
function theme_private_node_link($node) {
return theme('image', drupal_get_path('module', 'private') . '/icon_key.gif', t('Private'), t('This content is private'));
}