You are here

jscalendar.install in Javascript Tools 5

File

jscalendar/jscalendar.install
View source
<?php

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

  //set a high weight so jscalendar is called after all other hook_form_alters which may add jscalendar to various forms
  db_query("UPDATE {system} SET weight = 10 WHERE name = 'jscalendar'");
}
function jscalendar_update_1() {
  $ret = array();
  db_query("UPDATE {system} SET weight = 10 WHERE name = 'jscalendar'");
  return $ret;
}

Functions

Namesort descending Description
jscalendar_install Implementation of hook_install().
jscalendar_update_1