function update_form_system_modules_alter
update_form_system_modules_alter(&$form, $form_state)
Implements hook_form_FORM_ID_alter() for system_modules().
Adds a form submission handler to the system modules form, so that if a site admin saves the form, we invalidate the cache of available updates.
See also
File
- modules/update/update.module, line 351
- Handles updates of Drupal core and contributed projects.
Code
function update_form_system_modules_alter(&$form, $form_state) { $form['#submit'][] = 'update_cache_clear_submit'; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!update!update.module/function/update_form_system_modules_alter/7.x