You are here

function properties_template_admin_templates_delete in Dynamic properties 7

Form builder function; Provide a confirmation form to delete a template.

1 string reference to 'properties_template_admin_templates_delete'
properties_template_menu in properties_template/properties_template.module
Implements hook_menu().

File

properties_template/properties_template.admin.inc, line 324
Contains admin menu callbacks for properties_template.module.

Code

function properties_template_admin_templates_delete($form, &$form_state, $template) {
  $form['template'] = array(
    '#type' => 'value',
    '#value' => $template,
  );
  return confirm_form($form, t('Delete template %template', array(
    '%template' => $template->label,
  )), '');
}