summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Miccolis2010-09-14 21:18:28 (GMT)
committer Jeff Miccolis2010-09-14 21:18:28 (GMT)
commit51ae4b65918c2d29596f5723310ee749588850bc (patch)
treed990948149d92d7429f34eef03fa33bcfeb982c4
parent8af31f8036deee51a9f27ed3d0528b2d0c90e6d3 (diff)
Updating hook for declaring ctools plugin types.
-rw-r--r--context.module10
1 files changed, 6 insertions, 4 deletions
diff --git a/context.module b/context.module
index eaa9073..5eaf789 100644
--- a/context.module
+++ b/context.module
@@ -131,12 +131,14 @@ function context_clear() {
*/
/**
- * Implementation of hook_ctools_plugin_plugins().
+ * Implementation of hook_ctools_plugin_type().
*/
-function context_ctools_plugin_plugins() {
+function context_ctools_plugin_type() {
return array(
- 'cache' => TRUE,
- 'use hooks' => TRUE,
+ 'plugins' => array(
+ 'cache' => TRUE,
+ 'use hooks' => TRUE,
+ ),
);
}