1.20.x system_test.module system_test_init()

Implements hook_init().

File

modules/simpletest/tests/system_test.module, line 314
Test module for system functions.

Code

function system_test_init() {
  // Used by FrontPageTestCase to get the results of backdrop_is_front_page().
  if (config_get('system.core', 'front_page_output') && backdrop_is_front_page()) {
    backdrop_set_message(t('On home page.'));
  }
}