You are here

function fc_ctools_plugin_directory in Field Complete 7

File

./fc.module, line 19
Field Complete - Provides field-based completeness for any entity.

Code

function fc_ctools_plugin_directory($module, $plugin) {
  static $modules = array(
    'fc' => array(
      'fields' => 'fields',
    ),
  );
  if (!empty($modules[$module][$plugin])) {
    return "plugins/{$modules[$module][$plugin]}";
  }
}