function nopremium_action_info in Node Option Premium 7
Same name and namespace in other branches
- 6 nopremium.module \nopremium_action_info()
Implementation of hook_action_info().
1 call to nopremium_action_info()
- nopremium_rules_action_info in ./
nopremium.rules.inc - Implementation of hook_rules_action_info().
File
- ./
nopremium.module, line 58 - Written by Henri MEDOT <henri.medot[AT]absyx[DOT]fr> http://www.absyx.fr
Code
function nopremium_action_info() {
return array(
'node_make_premium_action' => array(
'type' => 'node',
'label' => t('Make content premium'),
'configurable' => FALSE,
'behavior' => array(
'changes_property',
),
'triggers' => array(
'node_presave',
'comment_insert',
'comment_update',
'comment_delete',
),
),
'node_make_non_premium_action' => array(
'type' => 'node',
'label' => t('Make content non-premium'),
'configurable' => FALSE,
'behavior' => array(
'changes_property',
),
'triggers' => array(
'node_presave',
'comment_insert',
'comment_update',
'comment_delete',
),
),
);
}