You are here

function shariff_ctools_plugin_directory in Shariff Social Media Buttons 7

Implements hook_ctools_plugin_directory().

File

./shariff.module, line 88
Integrating Shariff library, providing settings form and block.

Code

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