You are here

function oembedembedly_ctools_plugin_directory in oEmbed 8

Same name and namespace in other branches
  1. 7 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;
  }
}