1 theme_test.module _theme_test_alter()

Page callback, calls backdrop_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.

File

core/modules/simpletest/tests/theme_test.module, line 133

Code

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