[4f375e3] | 1 | CHANGES DURING D6 UPDATE TO PANELS 3 |
---|
| 2 | |
---|
| 3 | ALL PLUGINS |
---|
| 4 | =========== |
---|
| 5 | |
---|
| 6 | Function to advertise directory for plugins: |
---|
| 7 | hook_ctools_plugin_directory($module, $plugin) |
---|
| 8 | |
---|
| 9 | LAYOUTS |
---|
| 10 | ======= |
---|
| 11 | |
---|
| 12 | All layouts should use templates |
---|
| 13 | 'icon' now uses the defined path and should no longer have path built in. |
---|
| 14 | 'css' now uses defined path and should no longer have path built in. |
---|
| 15 | DOCUMENTATION NOTE: You can just copy any layout css file directly to your theme. It should no longer be in theme/layouts directory. |
---|
| 16 | administrative view of a layout can now have its own theme function. |
---|
| 17 | |
---|
| 18 | CONTENT TYPES |
---|
| 19 | ============= |
---|
| 20 | |
---|
| 21 | panels_node_legacy module renamed to panels_node_content.module |
---|
| 22 | -- NEED UPDATE TO RENAME IN SYSTEM TABLE. |
---|
| 23 | |
---|
| 24 | 'title callback' now has $subtype as the first argument. |
---|
| 25 | 'render' now has $subtype as the first argument. |
---|
| 26 | 'content_types' now 'content types'. |
---|
| 27 | New 'content type' to fetch information a single content type so we don't have |
---|
| 28 | to load all of them all the time. |
---|
| 29 | New 'defaults' array in either the type or subtype declaration to provide |
---|
| 30 | defaults for the add form. |
---|
| 31 | |
---|
| 32 | CONTEXTS |
---|
| 33 | ======== |
---|
| 34 | |
---|
| 35 | Function signature on submit and validate handlers now: ($form, &$form_values, &$form_state) |
---|
| 36 | Moved to CTOOLS |
---|
| 37 | |
---|
| 38 | RELATIONSHIPS |
---|
| 39 | ======== |
---|
| 40 | |
---|
| 41 | Function signature on submit and validate handlers now: ($form, &$form_values, &$form_state) |
---|
| 42 | Moved to CTOOLS |
---|
| 43 | |
---|
| 44 | ARGUMENTS |
---|
| 45 | ======== |
---|
| 46 | |
---|
| 47 | Function signature on submit and validate handlers now: ($form, &$form_values, &$form_state) |
---|
| 48 | Moved to CTOOLS |
---|
| 49 | |
---|
| 50 | When argument plugins fail to load a context at runtime, they must now return |
---|
| 51 | error codes instead of FALSE or NULL (previously the practice). The error codes, |
---|
| 52 | and their respective documentation, can be found at the top of panels.module. |
---|