pm_block_user.install in Privatemsg 7
Same filename and directory in other branches
Install file for pm_block_user.module
File
pm_block_user/pm_block_user.installView source
<?php
/**
* @file
* Install file for pm_block_user.module
*/
/**
* Implement hook_schema().
*/
function pm_block_user_schema() {
$schema = array();
$schema['pm_block_user'] = array(
'description' => '{pm_block_user} holds data mapping which authors who cannot messages to which recipients ',
'fields' => array(
'author' => array(
'description' => 'ID of the author',
'type' => 'int',
'not null' => TRUE,
'unsigned' => TRUE,
),
'recipient' => array(
'description' => 'ID of the recipient',
'type' => 'int',
'not null' => TRUE,
'unsigned' => TRUE,
),
),
'primary key' => array(
'author',
'recipient',
),
);
return $schema;
}
Functions
Name | Description |
---|---|
pm_block_user_schema | Implement hook_schema(). |