Révision 08475715
Ajouté par Assos Assos il y a plus de 7 ans
drupal7/sites/all/modules/panels/includes/display-edit.inc | ||
---|---|---|
302 | 302 |
* Validate the layout settings form. |
303 | 303 |
*/ |
304 | 304 |
function panels_edit_display_settings_form_validate($form, &$form_state) { |
305 |
if ($function = panels_plugin_get_function('layout', $form_state['layout'], 'settings validate')) { |
|
305 |
if ($function = panels_plugin_get_function('layouts', $form_state['layout'], 'settings validate')) {
|
|
306 | 306 |
$function($form_state['values']['layout_settings'], $form['layout_settings'], $form_state['display'], $form_state['layout'], $form_state['display']->layout_settings); |
307 | 307 |
} |
308 | 308 |
} |
... | ... | |
312 | 312 |
*/ |
313 | 313 |
function panels_edit_display_settings_form_submit($form, &$form_state) { |
314 | 314 |
$display = &$form_state['display']; |
315 |
if ($function = panels_plugin_get_function('layout', $form_state['layout'], 'settings submit')) { |
|
315 |
if ($function = panels_plugin_get_function('layouts', $form_state['layout'], 'settings submit')) {
|
|
316 | 316 |
$function($form_state['values']['layout_settings'], $display, $form_state['layout'], $display->layout_settings); |
317 | 317 |
} |
318 | 318 |
|
Formats disponibles : Unified diff
Weekly update of contrib modules