You are here

function sharethis_ctools_plugin_directory in ShareThis 7.2

Implements hook_ctools_plugin_directory().

File

./sharethis.module, line 540
A module that adds one of the ShareThis widget to your website.

Code

function sharethis_ctools_plugin_directory($module, $plugin) {
  if ($module == 'panels' || $module == 'ctools') {
    return 'plugins/' . $plugin;
  }
}