caption_filter.install in Caption Filter 6
Same filename and directory in other branches
Update and install functions for FileField Sources.
File
caption_filter.installView 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
Name![]() |
Description |
---|---|
caption_filter_install | Implementation of hook_install(). |
caption_filter_update_6100 | Set the Caption Filter module weight. |