You are here

function panelizer_move_content_form in Panelizer 7.3

Same name and namespace in other branches
  1. 7.2 includes/common.inc \panelizer_move_content_form()
1 string reference to 'panelizer_move_content_form'
panelizer_change_layout_wizard in includes/common.inc
Panelizer layout change form. If there is no content this will be a 'choose' layout form. If there is content it will be a 'change' layout form.

File

includes/common.inc, line 451
Contains common forms and routines that different object types use.

Code

function panelizer_move_content_form($form, &$form_state) {

  // Tell the Panels form not to display buttons.
  $form_state['no buttons'] = TRUE;

  // Change the #id of the form so the CSS applies properly.
  $form = panels_change_layout($form, $form_state);
  $form['buttons']['return']['#submit'][] = 'panels_change_layout_submit';
  panelizer_add_revision_info_form($form, $form_state);
  return $form;
}