Hide Custom Drupal Modules from Update Status Module
Posted:
Thursday, April 2nd, 2015Last modified:
Friday, April 17th, 2015You can hide your custom Drupal modules from being scanned by the Update Status module by removing your module from the $projects array in hook_projects_alter(). Doing so will prevent "No available releases found" warnings when checking for available updates.
/** * Remove our custom modules from the $projects list so * the update manager won't check them for needed updates. * @param $projects */ function MYMODULE_update_projects_alter(&$projects){ unset($projects['mymodule_machine_name']); }
References
Available Wiki Topics
The operator of this site makes no claims, promises, or guarantees of the accuracy, completeness, originality, uniqueness, or even general adequacy of the contents herein and expressly disclaims liability for errors and omissions in the contents of this website.