summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryoung hahn2009-09-06 03:13:54 (GMT)
committer young hahn2009-09-06 03:13:54 (GMT)
commitb4e516c4a2f836a16f8cb6df8cf37befcaa1dc89 (patch)
treeee4d7b261ed33d7e6f6065093dfd265f827dbe2a
parenta8c651db3a6177fb361d23d920768c4862a8f8d6 (diff)
Provide menu_trail, menu conditions and reactions even if the menu (mostly UI) module is turned off.
-rw-r--r--context.core.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/context.core.inc b/context.core.inc
index bd4cc1d..96908b2 100644
--- a/context.core.inc
+++ b/context.core.inc
@@ -137,6 +137,9 @@ function context_context_conditions() {
'#multiple' => TRUE,
);
}
+ else {
+ $items['menu_trail'] = array('#type' => 'value');
+ }
return $items;
}
@@ -223,6 +226,9 @@ function context_context_reactions() {
'#type' => 'select',
);
}
+ else {
+ $items['menu'] = array('#type' => 'value');
+ }
// Implements context-based theme improvements
$items['theme_section'] = array(