You are here

function shariff_settings_submit in Shariff Social Media Buttons 7

Form submit handler for shariff_settings_form().

See also

shariff_settings_form()

1 string reference to 'shariff_settings_submit'
shariff_settings_form in ./shariff.module
Admin settings menu callback.

File

./shariff.module, line 281
Integrating Shariff library, providing settings form and block.

Code

function shariff_settings_submit($form, &$form_state) {

  // Clear the cache so an anonymous user sees all buttons updated.
  cache_clear_all();
  drupal_set_message(t('The cache has been cleared.'));
}