You are here

function oembedembedly_ctools_plugin_directory in oEmbed 7

Same name and namespace in other branches
  1. 8 modules/oembedembedly/oembedembedly.module \oembedembedly_ctools_plugin_directory()
  2. 7.0 oembedembedly/oembedembedly.module \oembedembedly_ctools_plugin_directory()

Implement hook_ctools_plugin_directory().

File

modules/oembedembedly/oembedembedly.module, line 73
Embed.ly support for oEmbed.module

Code

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