You are here

function panels_ct_pane_submit_form in Panels 6.2

Same name and namespace in other branches
  1. 5.2 includes/plugins.inc \panels_ct_pane_submit_form()

Call any add/edit submit handlers defined by the content type.

Parameters

string $content_type: A string value containing the name of the content type.

$form_values: The $form_values['configuration'] sub-array generated by FAPI for the overall ct add/edit submit handler.

string $op: Either 'add' or 'edit' depending on the operation being performed.

Related topics

1 call to panels_ct_pane_submit_form()
panels_content_config_form_submit in includes/display-edit.inc
FAPI submission function for the edit content form.

File

includes/plugins.inc, line 398
plugins.inc

Code

function panels_ct_pane_submit_form($content_type, &$form_values, $op) {
  if ($function = panels_plugin_get_function('content_types', $content_type, "{$op} submit callback")) {
    return $function($form_values);
  }
}