You are here

path_breadcrumbs.install in Path Breadcrumbs 7

Same filename and directory in other branches
  1. 7.3 path_breadcrumbs.install
  2. 7.2 path_breadcrumbs.install

Provides database structure for PATH BREADCRUMBS module.

File

path_breadcrumbs.install
View source
<?php

/**
 * @file
 * Provides database structure for PATH BREADCRUMBS module.
 */

/**
 * Implements hook_schema().
 */
function path_breadcrumbs_schema() {
  $schema['path_breadcrumbs'] = array(
    'fields' => array(
      'path_id' => array(
        'type' => 'serial',
        'unsigned' => TRUE,
        'not null' => TRUE,
      ),
      'name' => array(
        'type' => 'varchar',
        'length' => 64,
        'not null' => TRUE,
      ),
      'path' => array(
        'type' => 'varchar',
        'length' => 128,
        'not null' => TRUE,
      ),
      'titles' => array(
        'type' => 'blob',
        'not null' => TRUE,
        'size' => 'big',
      ),
      'paths' => array(
        'type' => 'blob',
        'not null' => TRUE,
        'size' => 'big',
      ),
      'home' => array(
        'type' => 'int',
        'not null' => TRUE,
        'default' => 1,
      ),
    ),
    'primary key' => array(
      'path_id',
    ),
  );
  return $schema;
}

Functions

Namesort descending Description
path_breadcrumbs_schema Implements hook_schema().