function context_set in Context 6.2
Same name and namespace in other branches
- 5 context.module \context_set()
- 6.3 context.module \context_set()
- 6 context.module \context_set()
- 7.3 context.module \context_set()
Sets a context by namespace + attribute.
3 calls to context_set()
- ContextUnitTestCase::testContextGet in tests/
context.test - context_init in ./
context.module - Implementation of hook_init().
- context_set_by_condition in ./
context.module - Sets a namespace-attribute-value context that has been associated with the provided condition.
File
- ./
context.module, line 99
Code
function context_set($namespace, $attribute = NULL, $value = NULL) {
return context_context(CONTEXT_SET, $namespace, $attribute, $value);
}