function context_get in Context 6.3
Same name and namespace in other branches
- 5 context.module \context_get()
- 6 context.module \context_get()
- 6.2 context.module \context_get()
- 7.3 context.module \context_get()
Retrieves a context by namespace + (optional) attribute.
3 calls to context_get()
- ContextUnitTest::test in tests/
context.test - context_active_contexts in ./
context.module - Loads any active contexts with associated reactions. This should be run at a late stage of the page load to ensure that relevant contexts have been set.
- context_ui_block in context_ui/
context_ui.module - Implementation of hook_block().
File
- ./
context.module, line 102
Code
function context_get($namespace = NULL, $attribute = NULL) {
return context_context(CONTEXT_GET, $namespace, $attribute, NULL);
}