function panopoly_magic_views_content_type_modal_submit in Panopoly Magic 7
Custom submit handler to save panels pane configuration for styling
2 string references to 'panopoly_magic_views_content_type_modal_submit'
File
- ./
panopoly_magic.module, line 1516
Code
function panopoly_magic_views_content_type_modal_submit(&$form, &$form_state) {
$move = array(
'view_settings',
'header_type',
'view_mode',
'widget_title',
);
foreach ($move as $key) {
if (isset($form_state['values'][$key])) {
$form_state['conf'][$key] = $form_state['values'][$key];
}
}
}