1 bootstrap.inc | backdrop_show_messages($show = NULL) |
Determines whether or not messages should be shown on the current page.
Parameters
bool $show: Set the show messages flag. If not provided, the current status of the flag will be returned.
Return value
bool: TRUE if messages should be shown on the current page. FALSE if the messages should be queued until the next page request.
File
- core/
includes/ bootstrap.inc, line 2534 - Functions that need to be loaded on every Backdrop request.
Code
function backdrop_show_messages($show = NULL) {
$value = &backdrop_static(__FUNCTION__, TRUE);
if (isset($show)) {
$value = $show;
}
return $value;
}