You are here

spaces_user.install in Spaces 7.3

Same filename and directory in other branches
  1. 6.3 spaces_user/spaces_user.install
  2. 7 spaces_user/spaces_user.install

Install, update and uninstall functions for the spaces_user module.

File

spaces_user/spaces_user.install
View source
<?php

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

/**
 * Implements hook_enable().
 */
function spaces_user_enable() {

  // Weight spaces_user() to just above PURL.
  db_update('system')
    ->fields(array(
    'weight' => -19,
  ))
    ->condition('name', 'spaces_user')
    ->condition('type', 'module')
    ->execute();
}

Functions

Namesort descending Description
spaces_user_enable Implements hook_enable().