You are here

function better_formats_install in Better Formats 7

Same name and namespace in other branches
  1. 8 better_formats.install \better_formats_install()
  2. 6.2 better_formats.install \better_formats_install()
  3. 6 better_formats.install \better_formats_install()

Implements of hook_install().

File

./better_formats.install, line 14
Installs the better_formats module.

Code

function better_formats_install() {

  // Increase module weight to prevent compatibility issues.
  db_update('system')
    ->fields(array(
    'weight' => 100,
  ))
    ->condition('name', 'better_formats')
    ->execute();
}