function google_adwords_install in Google AdWords Conversion Tracking 8
Same name and namespace in other branches
- 6 google_adwords.install \google_adwords_install()
- 7.2 google_adwords.install \google_adwords_install()
Implements hook_install().
File
- ./
google_adwords.install, line 11 - Install, update, and uninstall functions for the Google Adwords module.
Code
function google_adwords_install() {
drupal_set_message(t('Google AdWords module installed successfully. You must <a href="@fields">configure a Google Adwords Tracking field</a>. You can set <a href="@permissions">permissions</a> and <a href="@configuration">configure</a> the module.'), array(
'@permissions' => \Drupal\Core\Url::fromRoute('user.admin_permissions'),
'@configuration' => \Drupal\Core\Url::fromRoute('google_adwords.admin_settings'),
));
}