Skip navigation
Help

hook_openid_discovery_method_info_alter

7 openid.api.php hook_openid_discovery_method_info_alter(&$methods)

Allow modules to alter discovery methods.

Related topics

1 invocation of hook_openid_discovery_method_info_alter()

File

drupal/modules/openid/openid.api.php, line 72
Hooks provided by the OpenID module.

Code

function hook_openid_discovery_method_info_alter(&$methods) {
  // Remove XRI discovery scheme.
  unset($methods['xri']);
}