function privatemsg_rules_thread_has_tag_form_alter in Privatemsg 7
Same name and namespace in other branches
- 7.2 privatemsg_rules/privatemsg_rules.rules.inc \privatemsg_rules_thread_has_tag_form_alter()
Implements ACTIONBASE_form_alter().
File
- privatemsg_rules/
privatemsg_rules.rules.inc, line 332 - Hooks and callback functions for rules.module integration.
Code
function privatemsg_rules_thread_has_tag_form_alter(&$form, &$form_state) {
$form['parameter']['privatemsg_tag']['settings']['privatemsg_tag']['#type'] = 'textfield';
$form['parameter']['privatemsg_tag']['settings']['privatemsg_tag']['#autocomplete_path'] = 'messages/filter/tag-autocomplete';
}