You are here

function context_set in Context 7.3

Same name and namespace in other branches
  1. 5 context.module \context_set()
  2. 6.3 context.module \context_set()
  3. 6 context.module \context_set()
  4. 6.2 context.module \context_set()

Sets a context by namespace + attribute.

4 calls to context_set()
ContextUnitTest::test in tests/context.test
context_condition_met in ./context.module
Queue or activate contexts that have met the specified condition.
context_reaction_block::is_editable_check in plugins/context_reaction_block.inc
Determine if there is an active context editor block, and set a flag. We will set a flag so that we can make sure that blocks with empty content have some default content. This is needed so the save of the context inline editor does not remove the…
context_ui_init in context_ui/context_ui.module
Implemenation of hook_init().

File

./context.module, line 95

Code

function context_set($namespace, $attribute = NULL, $value = NULL) {
  return context_context(CONTEXT_SET, $namespace, $attribute, $value);
}