Projet

Général

Profil

Révision 64156087

Ajouté par Assos Assos il y a plus de 7 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/panels/includes/page-wizard.inc
35 35
    '#value' => '</fieldset>',
36 36
  );
37 37

  
38
//  $form_state['cache'] = FALSE;
38
  // $form_state['cache'] = FALSE;.
39 39
}
40 40

  
41 41
/**
......
52 52

  
53 53
  // Panels provides this caching mechanism to make it easy to use the
54 54
  // wizard to cache the display.
55

  
56 55
  $cache = panels_edit_cache_get('panels_page_wizard:' . $form_state['plugin']['name']);
57 56

  
58 57
  $form_state['renderer'] = panels_get_renderer_handler('editor', $cache->display);
......
68 67
}
69 68

  
70 69
/**
71
 * Add content form submit handler
70
 * Add content form submit handler.
72 71
 *
73 72
 * This is not a proper submit handler, it is meant to be called by a form's
74 73
 * submit handler to handle submission.
75 74
 */
76 75
function panels_page_wizard_add_content_submit(&$form, &$form_state) {
77 76
  // Call the normal panels edit form submit to make sure values are stored
78
  // on the display
77
  // on the display.
79 78
  panels_edit_display_form_submit($form, $form_state);
80 79
  $cache = &$form_state['wizard cache'];
81 80

  
......
83 82
  $cache->display = &$form_state['display'];
84 83
  unset($cache->display_cache);
85 84
}
86

  

Formats disponibles : Unified diff