Page callback, calls drupal_alter().

This is for testing that the theme can have hook_*_alter() implementations that run during page callback execution, even before theme() is called for the first time.

1 string reference to '_theme_test_alter'
theme_test_menu in modules/simpletest/tests/theme_test.module
Implements hook_menu().

File

modules/simpletest/tests/theme_test.module, line 136

Code

function _theme_test_alter() {
  $data = 'foo';
  drupal_alter('theme_test_alter', $data);
  return "The altered data is {$data}.";
}