domain_conf.install in Domain Access 6.2
Same filename and directory in other branches
Install file.
File
domain_conf/domain_conf.installView source
<?php
/**
* @file
* Install file.
*/
/**
* Implement hook_install()
*/
function domain_conf_install() {
drupal_install_schema('domain_conf');
}
/**
* Implement hook_schema()
*/
function domain_conf_schema() {
$schema['domain_conf'] = array(
'fields' => array(
'domain_id' => array(
'type' => 'int',
'not null' => TRUE,
'default' => 0,
),
'settings' => array(
'type' => 'blob',
'not null' => FALSE,
),
),
'primary key' => array(
'domain_id',
),
);
return $schema;
}
/**
* Implement hook_uninstall()
*/
function domain_conf_uninstall() {
drupal_uninstall_schema('domain_conf');
}
Functions
Name | Description |
---|---|
domain_conf_install | Implement hook_install() |
domain_conf_schema | Implement hook_schema() |
domain_conf_uninstall | Implement hook_uninstall() |