You are here

asaf.install in Asaf (ajax submit for any form) 7

Same filename and directory in other branches
  1. 8 asaf.install

File

asaf.install
View source
<?php

function asaf_install() {
  db_update('system')
    ->fields(array(
    'weight' => 8192,
  ))
    ->condition('name', 'asaf', '=')
    ->execute();
}
function asaf_uninstall() {
}

/**
 * Update module weight
 */
function asaf_update_7001() {
  db_update('system')
    ->fields(array(
    'weight' => 8192,
  ))
    ->condition('name', 'asaf', '=')
    ->execute();
}

Functions

Namesort descending Description
asaf_install
asaf_uninstall
asaf_update_7001 Update module weight