You are here

addtocalendar.install in Add To Calendar Button (AddEvent.com) 7.2

Install, update and uninstall functions for the addtocalendar module.

File

addtocalendar.install
View source
<?php

/**
 * @file
 * Install, update and uninstall functions for the addtocalendar module.
 */

/**
 * Implements hook_field_schema().
 */
function addtocalendar_field_schema() {
  $columns = array(
    'display_addtocalendar' => array(
      'type' => 'int',
      'size' => 'tiny',
      'not null' => FALSE,
    ),
  );
  $indexes = array(
    'display_addtocalendar' => array(
      'display_addtocalendar',
    ),
  );
  return array(
    'columns' => $columns,
    'indexes' => $indexes,
  );
}

Functions