function simplemeta_page_meta_form_submit_delete in Simple Meta 7
On-page SimpleMeta form submit callback on delete.
1 string reference to 'simplemeta_page_meta_form_submit_delete'
- simplemeta_page_meta_form in ./
simplemeta.module - On-page SimpleMeta form builder.
File
- ./
simplemeta.module, line 587 - SimpleMeta module.
Code
function simplemeta_page_meta_form_submit_delete($form, &$form_state) {
simplemeta_meta_delete($form_state['values']['_meta']->sid);
cache_clear_all('*', 'cache_simplemeta', TRUE);
drupal_set_message(t('Meta has been deleted'));
}