You are here

function oembedprovider_ctools_plugin_directory in oEmbed 7

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

Implement hook_ctools_plugin_directory().

File

modules/oembedprovider/oembedprovider.module, line 60
Module for providing content as defined in the oEmbed specification

Code

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