function varbase_seo_update_8010 in Varbase SEO 8.4
Enable Google Analytics module.
File
- ./
varbase_seo.install, line 122 - Install, update and uninstall functions for the Varbase SEO module.
Code
function varbase_seo_update_8010() {
if (!\Drupal::moduleHandler()
->moduleExists('google_analytics')) {
\Drupal::service('module_installer')
->install([
'google_analytics',
], FALSE);
}
}