You are here

function oembed_ctools_plugin_directory in oEmbed 7

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

Implement hook_ctools_plugin_directory().

File

./oembed.module, line 529
Core functionality for oEmbed

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;
  }
}