You are here

function oauth2_server_ctools_plugin_directory in OAuth2 Server 7

Implements hook_ctools_plugin_directory().

File

./oauth2_server.module, line 1187
Provides OAuth2 server functionality.

Code

function oauth2_server_ctools_plugin_directory($module, $plugin) {
  if ($module == 'restful') {
    return 'plugins/' . $plugin;
  }
}