function location_addanother_install in Location 7.4
Same name and namespace in other branches
- 5.3 contrib/location_addanother/location_addanother.install \location_addanother_install()
- 6.3 contrib/location_addanother/location_addanother.install \location_addanother_install()
- 7.5 contrib/location_addanother/location_addanother.install \location_addanother_install()
- 7.3 contrib/location_addanother/location_addanother.install \location_addanother_install()
Implementation of hook_install().
File
- contrib/
location_addanother/ location_addanother.install, line 11 - Installation routines for location_addanother.
Code
function location_addanother_install() {
// Change weight so we execute after location.
db_update('system')
->fields(array(
'weight' => 1,
))
->condition('name', 'location_addanother')
->execute();
}