Created
October 25, 2013 08:33
-
-
Save mrded/7151400 to your computer and use it in GitHub Desktop.
Drupal: How to pass list of users to bloody rules.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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