You are here

jquery_colorpicker_cck.install in Jquery Colorpicker 6.2

File

jquery_colorpicker_cck/jquery_colorpicker_cck.install
View source
<?php

/**
 * Implementation of hook_install().
 */
function jquery_colorpicker_cck_install() {
  drupal_load('module', 'content');
  content_notify('install', 'jquery_colorpicker_cck');
  db_query('UPDATE {system} SET weight = 1 WHERE name = "jquery_colorpicker_cck"');
}

/**
 * Implementation of hook_uninstall().
 */
function jquery_colorpicker_cck_uninstall() {
  drupal_load('module', 'content');
  content_notify('uninstall', 'jquery_colorpicker_cck');
}

/**
 * Implementation of hook_enable().
 *
 * Notify content module when this module is enabled.
 */
function jquery_colorpicker_cck_enable() {
  drupal_load('module', 'content');
  content_notify('enable', 'jquery_colorpicker_cck');
}

/**
 * Implementation of hook_disable().
 *
 * Notify content module when this module is disabled.
 */
function jquery_colorpicker_cck_disable() {
  drupal_load('module', 'content');
  content_notify('disable', 'jquery_colorpicker_cck');
}

Functions