function hashtags_clean_hash_symbol_submit in Hashtags 7
Submit handler for 'Clean hash symbol' button
1 string reference to 'hashtags_clean_hash_symbol_submit'
- hashtags_configuration_form in ./
hashtags.module - Hashtags configuration form
File
- ./
hashtags.module, line 849
Code
function hashtags_clean_hash_symbol_submit($form, &$form_state) {
if ($form_state['clicked_button']['#parents'][0] == 'clean_hash_symbol') {
$vid = variable_get('hashtags_vocabulary', '');
$count = hashtags_clean_hash_symbol();
drupal_set_message(t(':count hashtags has been updated', array(
':count' => $count,
)));
}
}