function context_set in Context 6
Same name and namespace in other branches
- 5 context.module \context_set()
- 6.3 context.module \context_set()
- 6.2 context.module \context_set()
- 7.3 context.module \context_set()
Sets a context by namespace + attribute.
2 calls to context_set()
- ContextUnitTestCase::testContextGet in tests/
context.test - 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);
}