You are here

function er_viewmode_ctools_plugin_directory in Entity reference viewmode selector 7

Implements hook_ctools_plugin_directory().

File

./er_viewmode.module, line 6

Code

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