You are here

function spaces_form_system_modules_submit in Spaces 7.3

Same name and namespace in other branches
  1. 6.3 spaces.overrides.inc \spaces_form_system_modules_submit()
  2. 7 spaces.overrides.inc \spaces_form_system_modules_submit()

Submit handler for clearing the space registry.

1 string reference to 'spaces_form_system_modules_submit'
spaces_form_system_modules_alter in ./spaces.overrides.inc
Form alter for the system_module form that adds a submit handler to clear the space registry.

File

./spaces.overrides.inc, line 90

Code

function spaces_form_system_modules_submit($form, &$form_state) {
  cache_clear_all('spaces_types', 'cache');
}