function google_adwords_install in Google AdWords Conversion Tracking 6
Same name and namespace in other branches
- 8 google_adwords.install \google_adwords_install()
- 7.2 google_adwords.install \google_adwords_install()
Implementation of hook_install().
File
- ./
google_adwords.install, line 7
Code
function google_adwords_install() {
// Create table
$created = drupal_install_schema('google_adwords');
if ($created) {
drupal_set_message(t('Google AdWords module installed successfully. You must set <a href="/admin/user/permissions#module-google_adwords">permissions</a> and <a href="/admin/settings/google_adwords">configure</a> the module. '));
}
else {
drupal_set_message(t('Table installation for the Google AdWords module was unsuccessful. The tables may need to be installed by hand. See google_adwords.install file for a list of the installation queries.'), 'error');
}
return;
}