1 session_test.module _session_test_set_message()

Menu callback, sets a message to me displayed on the following page.

File

core/modules/simpletest/tests/session_test.module, line 129

Code

function _session_test_set_message() {
  backdrop_set_message(t('This is a dummy message.'));
  print t('A message was set.');
  backdrop_exit();
  // Do not return anything, so the current request does not result in a themed
  // page with messages. The message will be displayed in the following request
  // instead.
}