function rules_action_drupal_message in Rules 6
Same name and namespace in other branches
- 7.2 modules/system.eval.inc \rules_action_drupal_message()
Related topics
File
- rules/
modules/ system.rules.inc, line 77 - rules integration for the system module
Code
function rules_action_drupal_message($settings) {
drupal_set_message($settings['message'], $settings['error'] ? 'error' : 'status');
}