function openid_test_html_openid2
7.x openid_test.module | openid_test_html_openid2() |
Menu callback; regular HTML page with OpenID 2.0 <link> element.
1 string reference to 'openid_test_html_openid2'
- openid_test_menu in drupal-7.x/
modules/ openid/ tests/ openid_test.module - Implements hook_menu().
File
- drupal-7.x/
modules/ openid/ tests/ openid_test.module, line 208 - Dummy OpenID Provider used with SimpleTest.
Code
function openid_test_html_openid2() {
drupal_add_html_head_link(array('rel' => 'openid2.provider', 'href' => url('openid-test/endpoint', array('absolute' => TRUE))));
drupal_add_html_head_link(array('rel' => 'openid2.local_id', 'href' => 'http://example.com/html-openid2'));
return t('This page includes a <link rel=...> element containing the URL of an OpenID Provider Endpoint.');
}