You are here

linkimagefield.install in Link Image Field 6

Same filename and directory in other branches
  1. 5 linkimagefield.install
  2. 7 linkimagefield.install

linkimagefield install and update code @author John Young <john@codeandcreative.com>

File

linkimagefield.install
View source
<?php

/**
 * @file
 *
 * linkimagefield install and update code
 * @author John Young <john@codeandcreative.com>
 */

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

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

/**
 * Implementation of hook_enable().
 */
function linkimagefield_enable() {
  drupal_load('module', 'content');
  content_notify('enable', 'linkimagefield');
}

/**
 * Implementation of hook_disable().
 */
function linkimagefield_disable() {
  drupal_load('module', 'content');
  content_notify('disable', 'linkimagefield');
}

Functions

Namesort descending Description
linkimagefield_disable Implementation of hook_disable().
linkimagefield_enable Implementation of hook_enable().
linkimagefield_install Implementation of hook_install().
linkimagefield_uninstall Implementation of hook_uninstall().