You are here

mongodb_field_storage.install in MongoDB 7

Install, update and uninstall functions for the mongodb field storage module.

File

mongodb_field_storage/mongodb_field_storage.install
View source
<?php

/**
 * @file
 * Install, update and uninstall functions for the mongodb field storage module.
 */

/**
 * Implements hook_install().
 */
function mongodb_field_storage_install() {
  variable_set('field_storage_default', 'mongodb_field_storage');
}

/**
 * Implements hook_disable().
 */
function mongodb_field_storage_disable() {
  variable_del('field_storage_default');
}