You are here

function rules_condition_node_is_premium in Node Option Premium 7

Condition: Check if the node is premium content.

1 string reference to 'rules_condition_node_is_premium'
nopremium_rules_condition_info in ./nopremium.rules.inc
Implementation of hook_rules_condition_info().

File

./nopremium.rules.inc, line 33
Written by Henri MEDOT <henri.medot[AT]absyx[DOT]fr> http://www.absyx.fr

Code

function rules_condition_node_is_premium($node) {
  return $node->premium == NODE_PREMIUM;
}