Projet

Général

Profil

Paste
Télécharger (443 octets) Statistiques
| Branche: | Révision:

root / drupal7 / modules / openid / tests / openid_test.install @ c7768a53

1
<?php
2

    
3
/**
4
 * @file
5
 * Install, update and uninstall functions for the openid_test module.
6
 */
7

    
8
/**
9
 * Implements hook_install().
10
 */
11
function openid_test_install() {
12
  module_load_include('inc', 'openid');
13
  // Generate a MAC key (Message Authentication Code) used for signing messages.
14
  // The variable is base64-encoded, because variables cannot contain non-UTF-8
15
  // data.
16
  variable_set('openid_test_mac_key', drupal_random_key(20));
17
}