ctools.inc in Share Buttons, Related Posts, Content Analytics - Shareaholic 7
Same filename and directory in other branches
CTools module integration.
File
includes/ctools.incView source
<?php
/**
* @file
* CTools module integration.
*/
/**
* Implements hook_ctools_plugin_api().
*/
function sexybookmarks_ctools_plugin_api() {
list($module, $api) = func_get_args();
if ($module == 'sexybookmarks' && $api == 'default_sexybookmarks_profiles') {
return array(
'version' => 2,
);
}
if ($module == 'boxes' && $api == 'box') {
return array(
'version' => 1,
);
}
}
/**
* Implements hook_ctools_plugin_directory().
*/
function sexybookmarks_ctools_plugin_directory($module, $plugin) {
if ($module == 'ctools' && !empty($plugin)) {
return "plugins/{$plugin}";
}
}
Functions
Name | Description |
---|---|
sexybookmarks_ctools_plugin_api | Implements hook_ctools_plugin_api(). |
sexybookmarks_ctools_plugin_directory | Implements hook_ctools_plugin_directory(). |