You are here

ckeditor_swf.install in CKEditor SWF - Enhanced Flash embedding plugin 6.2

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

File

ckeditor_swf.install
View source
<?php

/**
 * Implementation of hook_install().
 */
function ckeditor_swf_install() {
  db_query("UPDATE {system} SET weight = %d WHERE name = '%s'", 1, 'ckeditor_swf');
}

/**
 * Implementation of hook_uninstall().
 */
function ckeditor_swf_uninstall() {
  db_query("DELETE FROM {variable} WHERE name LIKE 'ckeditor_swf_%%'");
}

/**
 * Implementation of hook_enable().
 */
function ckeditor_swf_enable() {
  cache_clear_all('*', 'cache_filter', TRUE);
}

/**
 * Implementation of hook_disable().
 */
function ckeditor_swf_disable() {
  cache_clear_all('*', 'cache_filter', TRUE);
}

/**
 * Implementation of hook_update_N().
 */
function ckeditor_swf_update_6200() {
  db_query("UPDATE {system} SET weight = %d WHERE name = '%s'", 1, 'ckeditor_swf');
  return array();
}

Functions

Namesort descending Description
ckeditor_swf_disable Implementation of hook_disable().
ckeditor_swf_enable Implementation of hook_enable().
ckeditor_swf_install Implementation of hook_install().
ckeditor_swf_uninstall Implementation of hook_uninstall().
ckeditor_swf_update_6200 Implementation of hook_update_N().