You are here

function asset_install in Asset 7

Same name and namespace in other branches
  1. 5.2 asset.install \asset_install()
  2. 5 asset.install \asset_install()
  3. 6 asset.install \asset_install()

Implements hook_install().

File

./asset.install, line 163
Install, update and uninstall functions for the assets module.

Code

function asset_install() {

  // Increase the module weight.
  db_update('system')
    ->fields(array(
    'weight' => 1,
  ))
    ->condition('type', 'module')
    ->condition('name', 'asset')
    ->execute();

  // Try to add support for entitycache by default.
  asset_update_7102();
}