Projet

Général

Profil

Paste
Télécharger (1,18 ko) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / modules / panels / UPGRADE.txt @ 136a805a

1
Upgrading from Panels-6.x-3.x to Panels-7.x-3.x
2

    
3
  - Style and layout plugins may no longer be registered by a central hook.
4
    Only the plugin directories method may be used.
5

    
6
  - Layout 'panels function' is now 'regions function'.
7

    
8
  - Layout 'panels' key is now 'regions'.
9

    
10
  - panels_get_pane_title() deprecated.
11

    
12
  - panels_plugin_get_function() deprecated.
13

    
14
  - panels_required_context removed. These were deprecated long ago and
15
    existed only to prevent crashes.
16

    
17
  - panels_optional_context removed.
18

    
19
  - $renderer->plugins['layout']['panels'] changed to $renderer->plugin['layout']['regions']
20

    
21
  - display_renderer class is now in 'renderer', not 'handler'.
22

    
23
Upgrading task handlers from Panels 7.x-3.5 or older to Panels 7.x-3.6 and newer:
24

    
25
  - You must specify a storage type for any panels display using your custom task handler.
26
    For examples, see panels_update_7306.
27

    
28
  - When creating whatever stores the panel, a storage id and storage type must be defined.
29
    See panels_mini.module for examples inside panels_mini_save and panels_mini_panels_cache_get.
30

    
31
  - A display access plugin must be defined.
32
    See panels_mini/plugins/panels_storage/panels_mini.inc for an example plugin.