You are here

function sharerich_node_prepare in Sharerich 7

Implements hook_node_prepare().

File

./sharerich.module, line 264

Code

function sharerich_node_prepare($node) {
  if (!isset($node->sharerich)) {
    $node->sharerich = variable_get('sharerich_node_{$node->type}', FALSE);
  }
}