You are here

function hook_ctools_plugin_api in Data 8

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

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

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,
    );
  }
}