Commit 6833fa13 authored by attila.fekete's avatar attila.fekete
Browse files

Issue #1081240 by jdanthinne: D7 port.

parent 8d8e451b
name = Soundcloud field
description = Soundcloud CCK field
dependencies[] = content
package = Soundcloud
core = 6.x
description = Field for Soundcloud tracks and sets.
core = 7.x
dependencies[] = field
package = Fields
\ No newline at end of file
<?php
// Notify CCK when this module is enabled, disabled, installed,
// and uninstalled so CCK can do any necessary preparation or cleanup.
/**
* @file
* 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');
}
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment