You are here

soundcloudfield.install in SoundCloud field 6

Same filename and directory in other branches
  1. 7 soundcloudfield.install

Notify CCK when this module is enabled, disabled, installed, and uninstalled so CCK can do any necessary preparation or cleanup.

File

soundcloudfield.install
View source
<?php

/**
 * @file
 * Notify CCK when this module is enabled, disabled, installed,
 * and uninstalled so CCK can do any necessary preparation or cleanup.
 *
 *
 */

/**
 * Implementation of hook_install().
 */
function soundcloudfield_install() {
  drupal_load('module', 'content');
  content_notify('install', 'soundcloudfield');
}

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

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

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

Functions

Namesort descending Description
soundcloudfield_disable Implementation of hook_disable().
soundcloudfield_enable Implementation of hook_enable().
soundcloudfield_install Implementation of hook_install().
soundcloudfield_uninstall Implementation of hook_uninstall().