You are here

function og_subscribe_link in Organic groups 6.2

Same name and namespace in other branches
  1. 5.8 og.module \og_subscribe_link()
  2. 5 og.module \og_subscribe_link()
  3. 5.2 og.module \og_subscribe_link()
  4. 5.3 og.module \og_subscribe_link()
  5. 5.7 og.module \og_subscribe_link()
  6. 6 og.module \og_subscribe_link()

Generate a link to join or request to join the specified group.

Parameters

$node: Node object of the group.

Return value

string

Deprecated

This function is deprecated in favor of theme('og_subscribe_link'), which can be used to override the link's output.

File

./og.module, line 2753
Code for the Organic Groups module.

Code

function og_subscribe_link($node) {
  return theme('og_subscribe_link', $node);
}