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-7.x/
modules/ simpletest/ tests/ theme_test.module - Implements hook_menu().
Archivo
- drupal-7.x/
modules/ simpletest/ tests/ theme_test.module, line 116
Código
function _theme_test_alter() {
$data = 'foo';
drupal_alter('theme_test_alter', $data);
return "The altered data is $data.";
}