Skip to content

Instantly share code, notes, and snippets.

@mrded
Created October 25, 2013 08:33
Show Gist options
  • Save mrded/7151400 to your computer and use it in GitHub Desktop.
Save mrded/7151400 to your computer and use it in GitHub Desktop.
Drupal: How to pass list of users to bloody rules.
<?php
/**
* Implements hook_rules_event_info().
*/
function hook_rules_event_info() {
return array(
'list_of_users' => array(
'label' => t('List of users example'),
'group' => t('Example'),
'variables' => array(
'list' => array(
'type' => 'list<user>',
'label' => t('List of users.'),
),
),
),
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment