ckeditor_swf.install in CKEditor SWF - Enhanced Flash embedding plugin 7
Same filename and directory in other branches
File
ckeditor_swf.installView source
<?php
/**
* Implementation of hook_install().
*/
function ckeditor_swf_install() {
db_update('system')
->fields(array(
'weight' => 1,
))
->condition('name', 'ckeditor_swf')
->execute();
}
/**
* 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);
}
/**
* Implementations of hook_update_N().
*/
function ckeditor_swf_update_6200() {
}
function ckeditor_swf_update_7000() {
db_update('system')
->fields(array(
'weight' => 1,
))
->condition('name', 'ckeditor_swf')
->execute();
}
Functions
Name![]() |
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 | Implementations of hook_update_N(). |
ckeditor_swf_update_7000 |