You are here

function update_storage_clear_submit in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/update/update.module \update_storage_clear_submit()

Form submission handler for system_modules().

See also

update_form_system_modules_alter()

1 string reference to 'update_storage_clear_submit'
update_form_system_modules_alter in core/modules/update/update.module
Implements hook_form_FORM_ID_alter() for system_modules().

File

core/modules/update/update.module, line 328
Handles updates of Drupal core and contributed projects.

Code

function update_storage_clear_submit($form, FormStateInterface $form_state) {

  // Clear all update module data.
  update_storage_clear();
}