You are here

caption_filter.install in Caption Filter 6

Same filename and directory in other branches
  1. 7.2 caption_filter.install
  2. 7 caption_filter.install

Update and install functions for FileField Sources.

File

caption_filter.install
View source
<?php

/**
 * @file
 * Update and install functions for FileField Sources.
 */

/**
 * Implementation of hook_install().
 */
function caption_filter_install() {

  // Caption Filter needs to load after Insert module.
  db_query("UPDATE {system} SET weight = 20 WHERE type = 'module' AND name = 'caption_filter'");
}

/**
 * Set the Caption Filter module weight.
 */
function caption_filter_update_6100() {
  $ret = array();

  // Caption Filter needs to load after Insert module.
  $ret[] = update_sql("UPDATE {system} SET weight = 20 WHERE type = 'module' AND name = 'caption_filter'");
  return $ret;
}

Functions

Namesort descending Description
caption_filter_install Implementation of hook_install().
caption_filter_update_6100 Set the Caption Filter module weight.