You are here

function disable_breadcrumbs_schema in Disable breadcrumbs 6

Same name and namespace in other branches
  1. 7 disable_breadcrumbs.install \disable_breadcrumbs_schema()

Implementation of hook_schema().

File

./disable_breadcrumbs.install, line 18
Install file for the disable breadcrumbs module

Code

function disable_breadcrumbs_schema() {
  $schema['disable_breadcrumbs'] = array(
    'fields' => array(
      'nid' => array(
        'description' => 'The node ID.',
        'type' => 'int',
        'not null' => FALSE,
      ),
      'disable_breadcrumb' => array(
        'description' => 'Disable breadcrumb status.',
        'type' => 'int',
        'size' => 'small',
        'not null' => TRUE,
        'default' => 0,
      ),
    ),
    'primary key' => array(
      'nid',
    ),
  );
  return $schema;
}