function panelizer_choose_layout_form in Panelizer 7.2
Same name and namespace in other branches
- 7.3 includes/common.inc \panelizer_choose_layout_form()
1 string reference to 'panelizer_choose_layout_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 356 - Contains common forms and routines that different object types use.
Code
function panelizer_choose_layout_form($form, &$form_state) {
// Change the #id of the form so the CSS applies properly.
$form['#id'] = 'panels-choose-layout';
$form = panels_choose_layout($form, $form_state);
if (!empty($form['buttons']['return'])) {
panelizer_add_revision_info_form($form, $form_state);
}
return $form;
}