function panels_ct_pane_submit_form in Panels 5.2
Same name and namespace in other branches
- 6.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.
1 call to panels_ct_pane_submit_form()
- panels_content_config_form_submit in includes/
display_edit.inc - FAPI submit handler for panels_content_config_form().
File
- includes/
plugins.inc, line 390 - 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);
}
}