You are here

function hook_ctools_plugin_api in Heartbeat 7

Implement hook_ctools_plugin_api().

This hook is needed to let ctools know about exportables.

5 functions implement 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.

heartbeat_comments_ctools_plugin_api in modules/heartbeat_comments/heartbeat_comments.module
Implements hook_ctools_plugin_api().
heartbeat_ctools_plugin_api in ./heartbeat.module
Implements hook_ctools_plugin_api().
heartbeat_defaults_ctools_plugin_api in modules/heartbeat_defaults/heartbeat_defaults.module
Implements hook_ctools_plugin_api().
heartbeat_og_ctools_plugin_api in modules/heartbeat_og/heartbeat_og.module
Implements hook_ctools_plugin_api().
heartbeat_plugins_ctools_plugin_api in modules/heartbeat_plugins/heartbeat_plugins.module
Implements hook_ctools_plugin_api().

File

./heartbeat.api.php, line 57
Hooks provided by the Heartbeat API.

Code

function hook_ctools_plugin_api($module, $api) {
  if ($module == 'yourmodule' && $api == 'yourmodule') {
    return array(
      'version' => 1,
    );
  }
}