Redirect using drupal_goto().
1 string reference to 'common_test_drupal_goto_redirect_advanced'
- common_test_menu in modules/
simpletest/ tests/ common_test.module - Implements hook_menu().
File
- modules/
simpletest/ tests/ common_test.module, line 74 - Helper module for the Common tests.
Code
function common_test_drupal_goto_redirect_advanced() {
drupal_goto('common-test/drupal_goto', array(
'query' => array(
'foo' => '123',
),
), 301);
}