content_profile_registration.install in Content Profile 6
Content Profile Registration - Installation file.
File
modules/content_profile_registration.installView source
<?php
/**
* @file Content Profile Registration - Installation file.
*/
/**
* Implementation of hook_install().
*/
function content_profile_registration_install() {
// Set the weight to 1, so we are the last one altering the form.
db_query("UPDATE {system} SET weight = 1 WHERE name = 'content_profile_registration'");
}
/**
* Update the modules weight to 1.
*/
function content_profile_registration_update_6001() {
$ret = array();
$ret[] = update_sql("UPDATE {system} SET weight = 1 WHERE name = 'content_profile_registration'");
return $ret;
}
Functions
Name | Description |
---|---|
content_profile_registration_install | Implementation of hook_install(). |
content_profile_registration_update_6001 | Update the modules weight to 1. |