function arrange_fields_enable in Arrange Fields 6
Same name and namespace in other branches
- 7 arrange_fields.install \arrange_fields_enable()
Implementation of hook_enable. Since clearing the cache seems to correct so many bugs with this module, I am going to do it on enable. This hopefully will cut down on the initial bugs some users experience.
File
- ./
arrange_fields.install, line 22
Code
function arrange_fields_enable() {
drupal_set_message("Arrange Fields: Cache cleared during installation.");
cache_clear_all();
drupal_set_message(t("If you are installing Arrange Fields for the first time,\n you may need to clear your site's cache again to ensure\n that the menu system is updated. Please visit this\n page and select Clear Cached Data at the bottom\n of the screen: ") . l("admin/settings/performance", "admin/settings/performance"));
}