Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / chi-teck / drupal-code-generator / templates / d7 / hook / modules_installed.twig
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/modules_installed.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/modules_installed.twig
new file mode 100644 (file)
index 0000000..592cbf8
--- /dev/null
@@ -0,0 +1,8 @@
+/**
+ * Implements hook_modules_installed().
+ */
+function {{ machine_name }}_modules_installed($modules) {
+  if (in_array('lousy_module', $modules)) {
+    variable_set('lousy_module_conflicting_variable', FALSE);
+  }
+}