5 * Install, update and uninstall functions for the draggableviews module.
9 * Implements hook_schema().
11 function draggableviews_schema() {
12 $schema['draggableviews_structure'] = array(
13 'description' => 'Table that contains logs of all system events.',
19 'description' => 'The primary identifier.',
26 'description' => 'Makes the order unique for each view.',
28 'view_display' => array(
33 'description' => 'Makes the order unique for each view display.',
40 'description' => 'Makes the order unique for a given set of arguments',
46 'description' => 'Id of the entity that we are sorting (node, user, etc.).',
53 'description' => 'The order weight.',
60 'description' => 'The id of the parent.',
64 'view' => array('view_name', 'view_display', 'args', 'entity_id'),
65 'weight' => array('weight'),
66 'entity_id' => array('entity_id'),
68 'primary key' => array('dvid'),