You are here

function profanity_crud_form_submit in Profanity 7

Form submit handler.

1 string reference to 'profanity_crud_form_submit'
profanity_ctools_export_ui_form in plugins/export_ui/profanity_ctools_export_ui.inc
Implements hook_ctools_export_ui_form().

File

./profanity.module, line 628
Main {profanity} file.

Code

function profanity_crud_form_submit($form, &$form_state) {

  // Carry out the standard submit process.
  $form_state['object']
    ->edit_form_submit($form, $form_state);

  // Clear any caches for this list.
  cache_clear_all('profanity_list:' . $form_state['values']['name'], 'cache');
}