You are here

function panels_edit_configure_pane_css_form_submit in Panels 7.3

Same name and namespace in other branches
  1. 6.3 plugins/display_renderers/panels_renderer_editor.class.php \panels_edit_configure_pane_css_form_submit()

FAPI submission function for the CSS configure form.

All this does is set up $pane properly. The caller is responsible for actually storing this somewhere.

File

plugins/display_renderers/panels_renderer_editor.class.php, line 1840
Class file to control the main Panels editor.

Code

function panels_edit_configure_pane_css_form_submit($form, &$form_state) {
  $pane =& $form_state['pane'];
  $display = $form_state['display'];
  $pane->css['css_id'] = $form_state['values']['css_id'];
  $pane->css['css_class'] = $form_state['values']['css_class'];
}