You are here

function hook_ctools_plugin_api in Data 7

Same name and namespace in other branches
  1. 8 data.api.php \hook_ctools_plugin_api()
  2. 6 data.api.php \hook_ctools_plugin_api()

Example for a CTools Plugin API implementation for hook_data_default().

1 function implements hook_ctools_plugin_api()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

data_ui_test_ctools_plugin_api in data_ui/tests/data_ui_test.module
Implements hook_ctools_plugin_api().

File

./data.api.php, line 70
Documentation of hooks.

Code

function hook_ctools_plugin_api() {
  $args = func_get_args();
  $module = array_shift($args);
  $api = array_shift($args);
  if ($module == "data" && $api == "data_default") {
    return array(
      "version" => 1,
    );
  }
}