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