You are here

function context_isset in Context 5

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

Returns a boolean for whether a context namespace + attribute have been set.

2 calls to context_isset()
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 102

Code

function context_isset($namespace = null, $attribute = null) {
  return context_context(CONTEXT_ISSET, $namespace, $attribute, null);
}