sgrid.install in Sortable Grid Views Plugin 7
Same filename and directory in other branches
Install file for Sortable Grid module
File
sgrid.installView source
<?php
/**
* @file
* Install file for Sortable Grid module
*/
function sgrid_schema() {
$schema['sgrid'] = array(
'description' => 'Sgrid module sort info.',
'fields' => array(
'nid' => array(
'description' => 'The primary identifier for a node.',
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
),
'rank' => array(
'description' => 'The rank of the node for this view',
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
'default' => 0,
),
'view_display' => array(
'description' => 'The view and display name this info is related to.',
'type' => 'varchar',
'length' => 100,
'not null' => TRUE,
'default' => '',
),
),
'primary key' => array(
'nid',
'rank',
'view_display',
),
);
return $schema;
}
Functions
Name | Description |
---|---|
sgrid_schema | @file Install file for Sortable Grid module |