function properties_template_admin_templates_delete_submit in Dynamic properties 7
Submit handler to delete a template.
File
- properties_template/
properties_template.admin.inc, line 336 - Contains admin menu callbacks for properties_template.module.
Code
function properties_template_admin_templates_delete_submit($form, &$form_state) {
properties_template_delete($form_state['values']['template']);
drupal_set_message(t('Template deleted.'));
}