function context_set in Context 5
Same name and namespace in other branches
- 6.3 context.module \context_set()
- 6 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()
- ContextGetTest::testContextGet in tests/
context.test - context_ui_set in context_ui/
context_ui.module - Sets a namespace-attribute-value context that has been associated with the provided item.
File
- ./
context.module, line 88
Code
function context_set($namespace, $attribute = null, $value = null) {
return context_context(CONTEXT_SET, $namespace, $attribute, $value);
}