You are here

function properties_template_admin_templates_save in Dynamic properties 7

Form builder; Submit callback to save a template and redirect to list.

1 string reference to 'properties_template_admin_templates_save'
properties_template_admin_templates_form in properties_template/properties_template.admin.inc
Form builder; Add/Edit form for templates.

File

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

Code

function properties_template_admin_templates_save($form, &$form_state) {
  properties_template_save($form_state['template']);
  $form_state['redirect'] = 'admin/config/content/properties/templates';
  drupal_set_message(t('Template updated.'));
}