function asset_install in Asset 7
Same name and namespace in other branches
- 5.2 asset.install \asset_install()
- 5 asset.install \asset_install()
- 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();
}