Révision 5a7e6170
Ajouté par Florent Torregrosa il y a environ 10 ans
drupal7/sites/all/modules/panels/plugins/export_ui/panels_layouts_ui.class.php | ||
---|---|---|
125 | 125 |
|
126 | 126 |
function edit_form_submit(&$form, &$form_state) { |
127 | 127 |
parent::edit_form_submit($form, $form_state); |
128 |
|
|
129 |
// While we short circuited the main submit hook, we need to keep this one. |
|
130 |
panels_edit_display_settings_form_submit($form, $form_state); |
|
128 | 131 |
$form_state['item']->settings = $form_state['display']->layout_settings; |
129 | 132 |
} |
130 | 133 |
|
134 |
function edit_form_validate(&$form, &$form_state) { |
|
135 |
parent::edit_form_validate($form, $form_state); |
|
136 |
|
|
137 |
// While we short circuited the main validate hook, we need to keep this one. |
|
138 |
panels_edit_display_settings_form_validate($form, $form_state); |
|
139 |
} |
|
140 |
|
|
131 | 141 |
function list_form(&$form, &$form_state) { |
132 | 142 |
ctools_include('plugins', 'panels'); |
133 | 143 |
$this->builders = panels_get_layout_builders(); |
Formats disponibles : Unified diff
Update :