Project

General

Profile

Paste
Download (2.22 KB) Statistics
| Branch: | Revision:

root / drupal7 / sites / all / modules / ctools / API.txt @ 6e3ce7c2

1
Current API Version: 2.0.8
2

    
3
Please note that the API version is an internal number and does not match release numbers. It is entirely possible that releases will not increase the API version number, and increasing this number too often would burden contrib module maintainers who need to keep up with API changes.
4

    
5
This file contains a log of changes to the API.
6
API Version 2.0.9
7
Changed import permissions to use the new 'use ctools import' permission.
8

    
9
API Version 2.0.8
10
  Introduce ctools_class_add().
11
  Introduce ctools_class_remove().
12

    
13
API Version 2.0.7
14
  All ctools object cache database functions can now accept session_id as an optional
15
  argument to facilitate using non-session id keys.
16

    
17
API Version 2.0.6
18
  Introduce a hook to alter the implementors of a certain api via hook_[ctools_api_hook]_alter.
19

    
20
API Version 2.0.5
21
  Introduce ctools_fields_get_fields_by_type().
22
  Add language.inc
23
  Introduce hook_ctools_content_subtype_alter($subtype, $plugin);
24

    
25
API Version 2.0.4
26
  Introduce ctools_form_include_file()
27

    
28
API Version 2.0.3
29
  Introduce ctools_field_invoke_field() and ctools_field_invoke_field_default().
30

    
31
API Version 2.0.2
32
  Introduce ctools_export_crud_load_multiple() and 'load multiple callback' to
33
    export schema.
34

    
35
API Version 2.0.1
36
  Introduce ctools_export_crud_enable(), ctools_export_crud_disable() and
37
    ctools_export_crud_set_status() and requisite changes.
38
  Introduce 'object factory' to export schema, allowing modules to control
39
    how the exportable objects are instantiated.
40
  Introduce 'hook_ctools_math_expression_functions_alter'.
41

    
42
API Version 2.0
43
  Remove the deprecated callback-based behavior of the 'defaults' property on
44
    plugin types; array addition is now the only option. If you need more
45
    complex logic, do it with the 'process' callback.
46
  Introduce a global plugin type registration hook and remove the per-plugin
47
    type magic callbacks.
48
  Introduce $owner . '_' . $api . '_hook_name' allowing modules to use their own
49
    API hook in place of 'hook_ctools_plugin_api'.
50
  Introduce ctools_plugin_api_get_hook() to get the hook name above.
51
  Introduce 'cache defaults' and 'default cache bin' keys to export.inc
52

    
53
Versions prior to 2.0 have been removed from this document. See the D6 version
54
for that information.