You are here

function theme_private_node_link in Private 5

Same name and namespace in other branches
  1. 6 private.module \theme_private_node_link()
  2. 7.2 private.module \theme_private_node_link()
  3. 7 private.module \theme_private_node_link()
1 theme call to theme_private_node_link()
private_link in ./private.module

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'));
}