You are here

function context_exists in Context 6

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

Deprecated context_exists() function. Retained for backwards compatibility -- please use context_isset() instead.

1 call to context_exists()
ContextUnitTestCase::testContextGet in tests/context.test

File

./context.module, line 121

Code

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