diff --git a/uc_ctools_example/uc_ctools_example.info b/uc_ctools_example/uc_ctools_example.info index 2955a35d7db21814b6475da7e5af9337644a3234..cc82b5206427f0f613e571084ee811d4194d949e 100644 --- a/uc_ctools_example/uc_ctools_example.info +++ b/uc_ctools_example/uc_ctools_example.info @@ -1,4 +1,5 @@ name = Ubercart Ctools Example description = "Example of leveraging Ctools plugin in Ubercart." +package = Ubercart - extra core = 7.x dependencies[] = uc_ctools diff --git a/uc_ctools_example/uc_ctools_example.module b/uc_ctools_example/uc_ctools_example.module index 81e2318bc3b766fd3889d943898821bad54cd7c1..edae845fb5a29a488432cc6fe0f2a5842ba5d688 100644 --- a/uc_ctools_example/uc_ctools_example.module +++ b/uc_ctools_example/uc_ctools_example.module @@ -8,8 +8,9 @@ /** * Implementation of hook_ctools_plugin_directory(). */ -function uc_ctools_ctools_plugin_directory($module, $plugin) { +function uc_ctools_example_ctools_plugin_directory($module, $plugin) { + //drupal_set_message('123456'); if ($module == 'uc_ctools') { - return 'plugins/' . $plugin; + return 'plugins/ubercart/' . $plugin; } }