1 |
85ad3d82
|
Assos Assos
|
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 |
136a805a
|
Assos Assos
|
- panels_required_context removed. These were deprecated long ago and
|
15 |
85ad3d82
|
Assos Assos
|
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 |
136a805a
|
Assos Assos
|
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. |