You are here

function trim_install in Trim 7

Same name and namespace in other branches
  1. 8 trim.install \trim_install()

Implements hook_install().

File

./trim.install, line 6

Code

function trim_install() {

  // Set a large weight in order to go last (and so validate first).
  db_update('system')
    ->fields(array(
    'weight' => 1001,
  ))
    ->condition('name', 'trim', '=')
    ->execute();
}