You are here

function rrssb_node_prepare in Ridiculously Responsive Social Sharing Buttons 7.2

Same name and namespace in other branches
  1. 7 rrssb.module \rrssb_node_prepare()

Implements hook_node_prepare().

File

./rrssb.module, line 716

Code

function rrssb_node_prepare($node) {

  // @@TODO: Testing and code read suggests this function may not be needed - remove or add comment to explain.
  if (!isset($node->rrssb)) {
    $node->rrssb = variable_get("rrssb_{$node->type}", 0);
  }
}