You are here

function properties_template_admin_templates_add_another in Dynamic properties 7

Form builder; Submit callback to save a template and stay on form.

1 string reference to 'properties_template_admin_templates_add_another'
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 291
Contains admin menu callbacks for properties_template.module.

Code

function properties_template_admin_templates_add_another($form, &$form_state) {
  properties_template_save($form_state['template']);
  drupal_set_message(t('Template created.'));
}