1 | API.txt: $Id$ |
---|
2 | |
---|
3 | This file contains a log of changes to the API. |
---|
4 | API version 1.9 |
---|
5 | Introduce 'object factory' to export schema, allowing modules to control |
---|
6 | how the exportable objects are instantiated. |
---|
7 | Introduce 'hook_ctools_math_expression_functions_alter'. |
---|
8 | |
---|
9 | API version 1.8 |
---|
10 | Introduce 'get base contexts' callback to all tasks to facilitate |
---|
11 | Page Manager's site template extracting contexts from the environment. |
---|
12 | Introduce 'ctools_content_editable' function and the corresponding |
---|
13 | 'check editable' callback on all content types to determine if a |
---|
14 | content type can be edited based upon configuration. |
---|
15 | Introduce utility.inc and move some code to it. |
---|
16 | Introduce page-wizard.inc and a "page_wizard" type plugin for Page Manager. |
---|
17 | |
---|
18 | API version 1.7.2 |
---|
19 | Allow Export UI to automatically have wizards by setting 'use wizard' => TRUE |
---|
20 | Moved the Panels Stylizer module into CTools so that the UI can be |
---|
21 | used to manage styles for modules other than Panels. |
---|
22 | Introduce ctools_access_ruleset module for customizable access rulesets. |
---|
23 | Introduce ctools_custom_content module for customizable content panes. |
---|
24 | Add 'convert default' as a converter keyword for context implementations. |
---|
25 | Instead of reverting $context->title this will cause %context without |
---|
26 | :converter to use a default converter. |
---|
27 | |
---|
28 | API version 1.7.1 |
---|
29 | Introduce 'modal return' and 'ajax return' to wizard.inc to allow |
---|
30 | wizard owners to process their own ajax/modal output. |
---|
31 | Introduce math-expr.inc to allow simple math expression parsing. |
---|
32 | |
---|
33 | API version 1.7 |
---|
34 | Introduce the export-ui plugin. This introduces new keys to the 'export' |
---|
35 | section of schema: 'primary key', 'key name'. |
---|
36 | Introduce ctools_export_crud_ functions to provide CRUD access to most |
---|
37 | exportables. This introduces several optional callback keys to the |
---|
38 | 'export' section of the schema to provide overrides. |
---|
39 | Introduce auto-submit.js. Forms may now be set to auto submit just by |
---|
40 | adding appropriate classes. |
---|
41 | Provide new default functions for bulk export. This may make items that |
---|
42 | were previously not bulk exportable due to missing 'list' callback |
---|
43 | appear in the bulk export UI. |
---|
44 | |
---|
45 | API version 1.5 |
---|
46 | Add two new alter hooks: page_manager_operations_alter and |
---|
47 | page_manager_variant_operations_alter to allow modules to add tabs |
---|
48 | to any page manager page. |
---|
49 | |
---|
50 | API version 1.4: |
---|
51 | Allow themes to provide APIs which includes default pages of all types. |
---|
52 | Intorduce ctools_css_add_css() to allow private file systems to have generated CSS. |
---|
53 | Introduce initial build of stylizer.inc to allow UI configurable styles. |
---|
54 | Introduce 'cache warming' feature. Use 'ctools-use-ajax-cache' or |
---|
55 | 'ctools-use-modal-cache'. Doing so will cause content to be fetched |
---|
56 | via AJAX on page load and kept warm in a cache for instant responses |
---|
57 | to clicks. |
---|
58 | Generalized ctools_add_css(). |
---|
59 | Generalized ctools_add_js(). |
---|
60 | Generalized ctools_image_path(). |
---|
61 | Make global hooks for plugin definition optional through a 'use hooks' |
---|
62 | plugin option. |
---|
63 | |
---|
64 | API version 1.3.2: |
---|
65 | Introduce 'export callback' to individual fields in export.inc |
---|
66 | |
---|
67 | API version 1.3.1: |
---|
68 | #649144 by neclimdul: Expand ctools_include() to work for other modules. |
---|
69 | |
---|
70 | API version 1.3: |
---|
71 | Introduce ctools_jump_menu(). |
---|
72 | Change plugins to no longer need magic function. Can now use $plugin = array(...) instead. |
---|
73 | |
---|
74 | API version 1.2: |
---|
75 | Introduce ctools_set_variable_token(). |
---|
76 | Introduce ctools_set_callback_token(). |
---|
77 | Introduce cleanstring tool. See cleanstring.inc |
---|
78 | Introduce page_manager_get_current_page(). |
---|
79 | Introduce ctools_ajax_command_redirect(). |
---|
80 | Introduce ctools_ajax_command_reload(). |
---|
81 | Introduce ctools_ajax_command_submit(). |
---|
82 | Introduce ctools_static(). |
---|
83 | Introduce ctools_modal_command_loading(). |
---|
84 | |
---|
85 | API version 1.1.1: |
---|
86 | Introduce ctools_plugin_get_class() and ctools_plugin_load_class() |
---|
87 | Introduce ctools_ajax_command_attr(). |
---|
88 | Introduce ctools_set_page_token(). |
---|
89 | |
---|
90 | API version 1.1.0: |
---|
91 | delegator module destroyed, replaced by page manager. All 'task' and 'task_handler' plugins |
---|
92 | now owned by page_manager. Update plugin hooks accordingly. The filename for defaults |
---|
93 | for pages and handlers should now be MODULE.pages_default.inc |
---|
94 | |
---|
95 | The task_type plugin has been removed. |
---|
96 | |
---|
97 | Task handlers no longer have a separate UI. While task handlers can still |
---|
98 | be separated from pages for other purposes, they will probably need |
---|
99 | to implement their own UI to do it. |
---|
100 | |
---|
101 | API version 1.0: |
---|
102 | Initial CTools API version. |
---|