function openid_test_install
7.x openid_test.install | openid_test_install() |
Implements hook_install().
File
- drupal-7.x/
modules/ openid/ tests/ openid_test.install, line 11 - Install, update and uninstall functions for the openid_test module.
Code
function openid_test_install() {
module_load_include('inc', 'openid');
// Generate a MAC key (Message Authentication Code) used for signing messages.
// The variable is base64-encoded, because variables cannot contain non-UTF-8
// data.
variable_set('openid_test_mac_key', drupal_random_key(20));
}