function _theme_test_alter

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 drupal/core/modules/system/tests/modules/theme_test/theme_test.module
Implements hook_menu().

File

drupal/core/modules/system/tests/modules/theme_test/theme_test.module, line 123

Code

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