You are here

function rules_events_hook_user_arguments in Rules 6

Returns some arguments suitable for hook_user

Related topics

2 calls to rules_events_hook_user_arguments()
hook_rules_event_info in rules/rules.api.php
Define rules events.
user_rules_event_info in rules/modules/user.rules.inc
Implementation of hook_rules_event_info().

File

rules/modules/user.rules.inc, line 66
rules integration for the user module

Code

function rules_events_hook_user_arguments($account_label) {
  return array(
    'account' => array(
      'type' => 'user',
      'label' => $account_label,
    ),
  ) + rules_events_global_user_argument();
}