function devel_set_message
Same name in other branches
- 7.x-1.x devel.module \devel_set_message()
- 4.x devel.module \devel_set_message()
- 5.x devel.module \devel_set_message()
Sets message.
File
-
./
devel.module, line 146
Code
function devel_set_message($msg, $type = NULL) {
if (function_exists('drush_log')) {
drush_log($msg, $type);
}
else {
drupal_set_message($msg, $type, TRUE);
}
}