You are here

function stringoverrides_more_strings_submit in String Overrides 7

Submit handler; The "Add row" button.

1 string reference to 'stringoverrides_more_strings_submit'
stringoverrides_admin in ./stringoverrides.admin.inc
Menu callback for the String Overrides module to display its administration

File

./stringoverrides.admin.inc, line 245
Admin page callbacks for the String Overrides module.

Code

function stringoverrides_more_strings_submit($form, &$form_state) {
  $form_state['string_count'] = count($form_state['values']['string']) + 1;
  $form_state['rebuild'] = TRUE;
}