function menu_attributes_install in Menu Attributes 7
Same name and namespace in other branches
- 8 menu_attributes.install \menu_attributes_install()
- 6.2 menu_attributes.install \menu_attributes_install()
- 6 menu_attributes.install \menu_attributes_install()
Implements hook_install().
File
- ./
menu_attributes.install, line 11 - Install, update and uninstall functions for the menu_attributes module.
Code
function menu_attributes_install() {
db_update('system')
->fields(array(
'weight' => 10,
))
->condition('type', 'module')
->condition('name', 'menu_attributes')
->execute();
}