voxpelli / drupal-oembed

An oEmbed client and provider for Drupal

This URL has Read+Write access

drupal-oembed / oembedfield.install
100644 43 lines (38 sloc) 0.826 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?php
// $Id$
 
/**
 * @file
 * Install file for OEmbed Field
 */
 
/**
 * Implementation of hook_install().
 */
function oembedfield_install() {
  drupal_load('module', 'content');
  content_notify('install', 'oembedfield');
}
 
/**
 * Implementation of hook_uninstall().
 */
function oembedfield_uninstall() {
  drupal_load('module', 'content');
  content_notify('uninstall', 'oembedfield');
}
 
/**
 * Implementation of hook_enable().
 *
 * Notify content module when this module is enabled.
 */
function oembedfield_enable() {
  drupal_load('module', 'content');
  content_notify('enable', 'oembedfield');
}
 
/**
 * Implementation of hook_disable().
 *
 * Notify content module when this module is disabled.
 */
function oembedfield_disable() {
  drupal_load('module', 'content');
  content_notify('disable', 'oembedfield');
}