You are here

function birthdays_rules_event_info in Birthdays 7

Implements hook_rules_event_info().

File

./birthdays.rules.inc, line 12
Birthdays module - Rules support

Code

function birthdays_rules_event_info() {
  $info = array();
  $info['birthdays_current'] = array(
    'group' => t('Birthdays'),
    'label' => t('Current birthdays'),
    'help' => t('Current birthdays'),
    'variables' => array(
      'account' => array(
        'type' => 'user',
        'label' => t('User with birthdays'),
        'bundle' => 'user',
      ),
    ),
    'access callback' => 'rules_user_integration_access',
  );
  return $info;
}