_theme_test_alter

7 theme_test.module _theme_test_alter()
8 theme_test.module _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'

File

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

Code

function _theme_test_alter() {
  $data = 'foo';
  drupal_alter('theme_test_alter', $data);
  return "The altered data is $data.";
}
Login or register to post comments