You are here

function oembed_ctools_plugin_directory in oEmbed 7.0

Same name and namespace in other branches
  1. 7 oembed.module \oembed_ctools_plugin_directory()

Implement hook_ctools_plugin_directory().

File

./oembed.module, line 533

Code

function oembed_ctools_plugin_directory($module, $plugin) {
  if ($module == 'ctools' && $plugin == 'export_ui') {
    return 'plugins/' . $plugin;
  }
  if ($module == 'oembed' && $plugin == 'providers') {
    return 'plugins/' . $plugin;
  }
}