You are here

og_activity.rules.inc in Heartbeat 6.3

Same filename and directory in other branches
  1. 6.4 modules/og_activity/og_activity.rules.inc

File

modules/og_activity/og_activity.rules.inc
View source
<?php

// $Id $

/**
* Implementation of hook_rules_event_info().
* @ingroup rules
*/
function og_activity_rules_event_info() {
  return array(
    'og_become_co_admin' => array(
      'label' => t('User becomes co-owner of a group'),
      'module' => 'og_activity',
      'arguments' => array(
        'node' => array(
          'type' => 'node',
          'label' => t('Group node to become an admin.'),
        ),
        'user' => array(
          'type' => 'user',
          'label' => t('User becoming the co-owner.'),
        ),
      ),
      'redirect' => TRUE,
    ),
  );
}

Functions

Namesort descending Description
og_activity_rules_event_info Implementation of hook_rules_event_info().