You are here

function oembedprovider_embed_ctools_plugin_directory in oEmbed 7

Same name and namespace in other branches
  1. 7.0 oembedprovider_embed/oembedprovider_embed.module \oembedprovider_embed_ctools_plugin_directory()

Implement hook_ctools_plugin_directory().

File

modules/oembedprovider_embed/oembedprovider_embed.module, line 17

Code

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