1 drupal.inc drupal_set_message($message = NULL, $type = 'status', $repeat = TRUE)

Sets a message to display to the user.

Deprecated

since 1.0.0

See also

backdrop_set_message()

Related topics

File

core/includes/drupal.inc, line 226
Contains constants and function wrappers for Drupal 7.x compatibility.

Code

function drupal_set_message($message = NULL, $type = 'status', $repeat = TRUE) {
  return backdrop_set_message($message, $type, $repeat);
}