You are here

function profile2_ctools_plugin_directory in Profile 2 7

Same name and namespace in other branches
  1. 7.2 profile2.module \profile2_ctools_plugin_directory()

Implements hook_ctools_plugin_directory().

File

./profile2.module, line 1176
Support for configurable user profiles.

Code

function profile2_ctools_plugin_directory($owner, $plugin_type) {
  if ($owner == 'ctools' && !empty($plugin_type)) {
    return 'plugins/' . $plugin_type;
  }
}