user_relationship_elaborations.install in User Relationships 7
Same filename and directory in other branches
User Relationship Elaborations installation hooks
File
user_relationship_elaborations/user_relationship_elaborations.installView source
<?php
/**
* @file
* User Relationship Elaborations installation hooks
*/
function user_relationship_elaborations_schema() {
$schema['user_relationship_elaborations'] = array(
'fields' => array(
'rid' => array(
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
'default' => 0,
),
'elaboration' => array(
'type' => 'text',
'not null' => TRUE,
'size' => 'big',
),
),
'primary key' => array(
'rid',
),
);
return $schema;
}
/**
* Uninstall
*/
function user_relationship_elaborations_uninstall() {
variable_del('user_relationships_elaborations_api_only');
}
Functions
Name | Description |
---|---|
user_relationship_elaborations_schema | @file User Relationship Elaborations installation hooks |
user_relationship_elaborations_uninstall | Uninstall |