function system_test_authorize_init_page

Page callback to initialize authorize.php during testing.

See also

system_authorized_init().

1 string reference to 'system_test_authorize_init_page'
system_test_menu in modules/simpletest/tests/system_test.module
Implements hook_menu().

File

modules/simpletest/tests/system_test.module, line 501

Code

function system_test_authorize_init_page($page_title) {
    $authorize_url = $GLOBALS['base_url'] . '/authorize.php';
    system_authorized_init('system_test_authorize_run', drupal_get_path('module', 'system_test') . '/system_test.module', array(), $page_title);
    drupal_goto($authorize_url);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.