You are here

function context_context_list in Context 6.3

Same name and namespace in other branches
  1. 7.3 context.module \context_context_list()

CTools list callback for bulk export.

File

./context.module, line 292

Code

function context_context_list() {
  $contexts = context_load(NULL, TRUE);
  $list = array();
  foreach ($contexts as $context) {
    $list[$context->name] = $context->name;
  }
  return $list;
}