function devel_set_message

Same name in other branches
  1. 8.x-1.x devel.module \devel_set_message()
  2. 4.x devel.module \devel_set_message()
  3. 5.x devel.module \devel_set_message()

Sets a message.

File

./devel.module, line 490

Code

function devel_set_message($msg, $type = NULL) {
    $function = function_exists('drush_log') ? 'drush_log' : 'drupal_set_message';
    $function($msg, $type);
}