Commit 8ca481aa authored by Marco Villegas's avatar Marco Villegas
Browse files

Issue #1007102 follow-up: Re-add hook_ctools_plugin_directory() to versioncontrol_release.

This partly reverts 112fba3f.

hook_ctools_plugin_type() is needed, but it has a different propose than
hook_ctools_plugin_directory().
parent f2b43864
Loading
Loading
Loading
Loading
+9 −0
Changes for versioncontrol_release/versioncontrol_release.module: 9 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -56,6 +56,15 @@ function versioncontrol_release_ctools_plugin_type() {
  );
}

/**
 * Implements hook_ctools_plugin_directory().
 */
function versioncontrol_release_ctools_plugin_directory($module, $plugin_type) {
  if ($module == 'versioncontrol_release') {
    return "plugins/$plugin_type";
  }
}

/**
 * Instantiate an object to map VCAPI labels into release node version objects.
 *