openid_test.install

Install, update and uninstall functions for the openid_test module.

File

modules/openid/tests/openid_test.install

View source
<?php


/**
 * @file
 * Install, update and uninstall functions for the openid_test module.
 */

/**
 * Implements hook_install().
 */
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));
}

Functions

Title Deprecated Summary
openid_test_install Implements hook_install().

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