function ctools_content_configure_form_defaults_submit
Submit handler to store context/title override info.
1 string reference to 'ctools_content_configure_form_defaults_submit'
- ctools_content_configure_form_defaults in includes/
content.inc - Add the default FAPI elements to the content type configuration form.
File
-
includes/
content.inc, line 574
Code
function ctools_content_configure_form_defaults_submit(&$form, &$form_state) {
if (isset($form_state['values']['context'])) {
$form_state['conf']['context'] = $form_state['values']['context'];
}
if (isset($form_state['values']['override_title'])) {
$form_state['conf']['override_title'] = $form_state['values']['override_title'];
$form_state['conf']['override_title_text'] = $form_state['values']['override_title_text'];
$form_state['conf']['override_title_heading'] = $form_state['values']['override_title_heading'];
}
}