You are here

function custom_breadcrumbs_form_submit in Custom Breadcrumbs 6

Same name and namespace in other branches
  1. 5 custom_breadcrumbs.module \custom_breadcrumbs_form_submit()
  2. 6.2 custom_breadcrumbs.admin.inc \custom_breadcrumbs_form_submit()
  3. 7.2 custom_breadcrumbs.admin.inc \custom_breadcrumbs_form_submit()
  4. 7 custom_breadcrumbs.admin.inc \custom_breadcrumbs_form_submit()

File

./custom_breadcrumbs.admin.inc, line 135
Admin page callback file for the custom_breadcrumbs module.

Code

function custom_breadcrumbs_form_submit($form, &$form_state) {
  $breadcrumb = (object) $form_state['values'];
  custom_breadcrumbs_save_breadcrumb($breadcrumb);
  $form_state['redirect'] = 'admin/build/custom_breadcrumbs';
}