You are here

function og_actions_rules_action_info_alter in Organic groups 6

Same name and namespace in other branches
  1. 6.2 modules/og_actions/og_actions.module \og_actions_rules_action_info_alter()

Implementation of hook_rules_action_info_alter().

Lets the actions show up under "Organic Groups" in rules.

File

modules/og_actions/og_actions.module, line 512

Code

function og_actions_rules_action_info_alter(&$actions) {
  foreach (array_keys(og_actions_action_info()) as $action_name) {
    $actions['rules_core_' . $action_name]['module'] = 'Organic groups';
  }
}